Image data transfer apparatus

ABSTRACT

An image data transfer apparatus includes an acquisition unit that acquires predetermined information for at least one image file, from a storage medium storing a image file which can store plural pieces of image data, an ID adding unit that adds identification information to at least a part of all pieces of image data stored in at least one image file, based on the acquired predetermined information, a unit that receives a command for selecting at least one of all pieces of the image data each of which is added with the identification information, a transmission unit that transmits the identification information of the selected image data to the external device, and an image data transmission unit that transmits image data in response to a request from the external device.

BACKGROUND ART

1. Field of the Invention

The present invention relates to an apparatus which processes imagefiles capable of storing plural pieces of image data and, moreparticularly to an apparatus which transmits image data stored in suchan image file.

2. Related Art

JP-A-2006-005952 teaches a digital still camera (hereinafter, referredto as “a digital camera”) which creates image files storingdisplay-image data other than thumbnails.

The digital camera creates preview image data and thumbnail image data(for example, 160 horizontal dots×120 vertical dots) from captured imagedata, (for example, 1920 horizontal dots×1440 vertical dots). Suchpreview image data has a pixel count matching the pixel count of the LCDmonitor of the digital camera (for example, 320 horizontal dots×240vertical dots). Thumbnail image data is image data for use in displayinga thumbnail on the LDC monitor of the digital camera. The digital cameramanages the captured image data, preview image data and thumbnail imagedata within a single image file.

This enables the digital camera to instantly switch between a previewimage displayed on the LCD and thumbnail images displayed on the LCD.

An advantage of storing display-image data other than the thumbnailimage data in the image file is that either image can be displayedinstantly. A disadvantage, however, is that because multiple versions ofthe same image data are contained in the image file, the processes forgenerating, reproducing, and transmitting the image files arecomplicated, and that because the size of the image file increases, theprocess including transmission takes longer. As a result, an image fileprocessing device that is sufficiently easy to use cannot be provided bysimply storing display-image data in the image file.

SUMMARY OF THE INVENTION

The present invention is directed to solving the foregoing problem andprovides a user-friendly and easy-to-use image data transfer apparatusby improving an image file processing apparatus that reproduces imagefiles storing display-image data which is not thumbnail image data.

A first image data transfer apparatus according to the inventionincludes: a communication unit that communicates with an externaldevice; an acquisition unit that acquires predetermined information forat least one image file stored in a storage medium, the at least oneimage file capable of storing plural pieces of image data; an ID addingunit that adds unique identification information to at least a part ofthe plural pieces of image data stored in the at least one image file,based on the acquired predetermined information; a reception unit thatreceives a command for selecting at least one piece of image data amongall the plural pieces of image data to which the unique identificationinformation is added; a transmission unit that transmits theidentification information of the image data selected based on thecommand received by the reception unit to the external device via thecommunication unit; and an image data transmission unit that transmitsimage data to the external device, via the communication unit, inresponse to a request from the external device based on theidentification information transmitted to the external device.

With this arrangement, image data can be printed according to PictBridgestandard, without changing structure of the image file storing imagedata to be printed even though the image data is split and wasting amemory due to copy of image data.

In the first image data transfer apparatus of the invention, the atleast a part of the plural pieces of image data may include main imagedata. Alternatively, it may include main image data, and image having asame image size as that of the main image data.

In the first image data transfer apparatus of the invention may furtherinclude a recognition unit that recognizes that the communication unitis connected to the external device. The ID adding unit may add theidentification information (ID) to the image data when the recognitionunit recognizes that the communication unit is connected to the externaldevice. With this arrangement, ID has been added to each image data whenthe user selects image data to be printed. Thus when the user selectsimage data to be printed, it is possible to transmit ID to a printer.

In the first image data transfer apparatus of the invention, the imagefile may be added with file identification code for identifying an imagefile. The identification information may include at least a part of thefile identification code which is added to an image file storing imagedata to which the identification information is added, and dataidentification code which is added to an image data to identify imagedata in an image file. With this arrangement, ID of each image data isuniquely determined so that PictBridge standard can be supported withoutproviding management table for IDs.

In the first image data transfer apparatus of the invention, the imagedata transmission unit may transmit image data corresponding to IDtransmitted to the external device.

In the first image data transfer apparatus of the invention, theexternal device may be a printer.

According to other aspects of the present invention, there are furtherprovided processing apparatuses as follows.

(1) A first image information output apparatus according to the presentinvention includes; a reading unit that reads all or some of image filesstored in a storage medium capable of storing one or more image fileswhich can store plural pieces of image data and include relationshipinformation indicative of the relationship among the plural pieces ofimage data; a reproduction unit capable of reproducing all or somepieces of the image data stored in the image file read by the readingunit; an acquisition unit that acquires the relationship informationcontained in the image file storing the image data to be reproduced bythe reproduction unit; and an output unit that outputs the relationshipinformation acquired by the acquisition unit when the reproduction unitreproduces the image data.

This arrangement allows the user to recognize that there is an imagerelating to image data being currently displayed in the same image file.

(2) A second image information output apparatus according to the presentinvention includes; a reading unit that reads all or some of image filesstored in a storage medium capable of storing at least image files whichcan store, as image data, main image data and one or more pieces oforiginal image data having a pixel count equal to that of the main imagedata and storing relationship information indicative of the relationshipbetween the main image data and the original image data; a reproductionunit capable of reproducing all or some pieces of the image data storedin the image files read by the reading unit; an acquisition unit whichacquires the relationship information contained in the image filesstoring the image data to be reproduced by the reproduction unit; and anoutput unit that outputs the relationship information acquired by theacquisition unit when the reproduction unit reproduces image data.

This arrangement allows the user to recognize that there is an imagerelating to image data being currently displayed in the same image file.

(3) A first image data deletion apparatus according to the presentinvention includes; a storage medium that stores one or more image fileseach of which can store, as image data, main image data, one or morepieces of original image data and one or more pieces of display-imagedata; a deletion unit that deletes image data in the stored image files;and a reception unit that receives a command for selection of any ofimage data in the stored image files. The original image data is imagedata having a pixel count equal to that of the main image data. Thedisplay-image data is image data which is created based on the mainimage data or the original image data and has a pixel count smaller thanthat of the main image data or the original image data. The main imagedata and the one or more pieces of display-image data created based onthe main image data are stored in the image files such that they areassociated with each other. The original image data and the one or morepieces of display-image data created based on the original image dataare stored in the image files such that they are associated with eachother. The deletion unit, in response to a command for selectionreceived by the reception unit, deletes the image data indicated by thereceived command for selection, and image data associated with the imagedata indicated by the received command.

This arrangement allows the user to delete image data without takinginto consideration whether the image data being currently selected asimage data to be deleted is main image data or original image data ordisplay-image data.

(4) A second image data deletion apparatus according to the presentinvention is a camera to which a storage medium is loaded. The storagemedium stores, as image data, one or more image files. Each image filecan store main image data, one or more pieces of original image data andone or more pieces of display-image data. The second image data deletionapparatus includes: a deletion unit that deletes image data in thestored image files; and a reception unit that receives a command forselection of any of image data in the stored image files. The originalimage data is image data having a pixel count equal to that of the mainimage data. The display-image data is image data which is created basedon the main image data or the original image data and has a pixel countsmaller than that of the main image data or the original image data. Themain image data and the one or more pieces of display-image data createdbased on the main image data are stored in the image files such thatthey are associated with each other. The original image data and the oneor more pieces of display-image data created based on the original imagedata are stored in the image files such that they are associated witheach other. The deletion unit, in response to a command for selectionreceived by the reception unit, deletes the image data indicated by thereceived command for selection, and image data associated with the imagedata indicated by the received command.

This arrangement allows the user to delete image data without takinginto consideration whether the image data being currently selected asimage data to be deleted is main image data or original image data ordisplay-image data.

(5) An image file restructuring apparatus according to the presentinvention includes; a storage unit capable of storing image filescapable of storing, as image data, main image data, one or more piecesof original image data, and one or more pieces of display-image data ina predetermined order; a deletion unit capable of deleting all or somepieces of the image data stored in the image file stored in the storageunit; a selection unit that selects, as new image data, original imagedata stored at a position closest to the file head among the originalimage data stored in the image file, when deleting the main image datain the image data stored in the image file by the deletion unit; and areconfiguring unit that stores the new main image data selected by theselection unit at the head position of the image file and reconfiguresthe image file. The main image data is image data stored at a positionclosest to the file head in the image data stored in the image file. Theoriginal image data is image data having a pixel count equal to that ofthe main image data. The display-image data has a pixel count smallerthan that of the main image data or the original image data, and it iscreated based on the main image data or the original image data and isstored following the main image data or the original image data which isthe basis thereof.

This arrangement prevents the display-image data from being selected asmain image data, when main image data is deleted and display-image datacreated based on the deleted main image data is stored at a positionclosest to the file head. Therefore it prevents a situation in whichclear print image can not be obtained due to smaller pixel counts, whenmain image data is printed with a printer.

According to the present invention, it is possible to easily transmitimage files storing plural pieces of image data other than thumbnailimage data. Therefore, the present invention can provide an image datatransfer apparatus with excellent usability for users.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram showing the configuration of a digital cameraaccording to an embodiment of the present invention.

FIG. 2 shows the back of the digital camera according to an embodimentof the present invention.

FIG. 3 shows the data structure of a multiple image file.

FIG. 4 is a schematic view of a management table.

FIG. 5 is a flow chart illustrating a recording operation of the digitalcamera according to an embodiment of the present invention.

FIG. 6 is a schematic view of a multiple image file.

FIG. 7 is a schematic view of a management table.

FIG. 8 is a schematic view of a single image file.

FIG. 9 is a schematic view of a management table.

FIG. 10 is a schematic view of a screen for setting the aspect ratio.

FIG. 11 is a schematic view of a multiple image file.

FIG. 12 is a schematic view of a screen for setting a format.

FIG. 13 is a schematic view of a multiple image file.

FIG. 14 is a schematic view of a screen for setting for the pixel countof display-image data.

FIG. 15 is a schematic view of a multiple image file.

FIG. 16 is a flow chart illustrating a reproduction operation with thedigital camera according to an embodiment of the present invention;

FIG. 17 is a flow chart illustrating a reproduction operation of thedigital camera according to an embodiment of the present invention.

FIG. 18 is a schematic view illustrating transition of image data beingreproduced, when receiving up/down operations on a cursor key;

FIG. 19 is a flow chart illustrating a reproduction operation of thedigital camera according to an embodiment of the present invention.

FIG. 20 is a schematic view illustrating transition of image data beingreproduced, when receiving leftward/rightward operations on the cursorkey.

FIG. 21 is a schematic view of a screen which is displayed duringreproduction by the digital camera according to an embodiment of thepresent invention.

FIG. 22 is a schematic view of a selection screen for rotating imagedata.

FIG. 23 is a schematic view of a state where rotated image data isdisplayed.

FIG. 24 is a schematic view of a screen for setting the aspect ratio.

FIG. 25 is a schematic view illustrating a state of the display afterchanging the aspect ratio.

FIG. 26 is a flow chart illustrating an operation for rotating imagedata.

FIG. 27 is a flow chart illustrating an operation for changing theaspect ratio of image data;

FIG. 28 is a schematic view of a multiple image file.

FIG. 29 is a flow chart of an operation for deleting image data by thedigital camera according to an embodiment of the present invention.

FIG. 30 is a flow chart illustrating an operation for deleting imagedata.

FIG. 31 is a schematic view illustrating the change of an image filewhen image data is deleted from the image file.

FIG. 32 is a flow chart illustrating an operation for deleting imagedata.

FIG. 33 is a flow chart illustrating an operation for deleting imagedata.

FIG. 34 is a schematic view of a screen for making a setting forsplitting image data.

FIG. 35 is a flow chart illustrating an operation for splitting imagedata.

FIG. 36 is a flow chart illustrating resizing of image data.

FIG. 37 is a schematic view of a screen for making a setting forresizing of image data.

FIG. 38 is a flow chart illustrating transmission of image datacompliant with PictBridge.

FIG. 39 is a schematic view of an ID management table.

FIG. 40 is a schematic view of image files stored in a memory.

FIG. 41 is a flow chart illustrating an operation to be performed when aDPOF setting is made.

FIG. 42 is a flow chart illustrating transmission of image data.

FIG. 43 is a flow chart illustrating transmission of an image file.

FIG. 44 is a schematic view of a screen display which prompts a user toselect image data to be transmitted.

FIG. 45 is a flow chart illustrating transmission of image data.

FIG. 46 is a flow chart illustrating transmission of thumbnail imagedata.

FIG. 47 is a flow chart of a recording operation in a multi aspectshooting mode.

FIG. 48 is a schematic view of a single image file.

FIG. 49 is a flow chart of an operation for reproducing a multi aspectimage file.

FIG. 50 is a flow chart of a recording operation in the multi aspectshooting mode;

FIG. 51 is a schematic view illustrating an image including pluralaspect ratios.

FIG. 52 is a flow chart of an operation for reproducing a multi aspectimage file.

FIG. 53 is a flow chart of a recording operation in a panorama shootingmode.

FIG. 54 is a flow chart of an operation for reproducing a panorama imagefile.

FIG. 55 is a schematic view of a screen display during reproducing apanorama image file.

FIG. 56 is a flow chart of a recording operation in an auto bracketmode.

FIG. 57 is a flow chart of an operation for reproducing an auto bracketimage file.

FIG. 58 is a schematic view of a screen display during reproducing anauto bracket image file.

DETAIL DESCRIPTION OF PREFERRED EMBODIMENTS

Table of Contents

1. First Embodiment

-   -   1-1. Configuration        -   1-1-1. Configuration of Digital Camera        -   1-1-2. Configuration of the Back of Digital Camera        -   1-1-3. Data Structure of Image File Format            -   1-1-3-1. Structure of Entire File            -   1-1-3-2. Main Header Part                -   1-1-3-2-1. Structure of Entire Main Header Part                -   1-1-3-2-2. Management Table                -   1-1-3-2-3. Thumbnail Image Data                -   1-1-3-2-4. Mode Information Storage Part                -   1-1-3-2-5. Other Stored Information            -   1-1-3-3. Main Image Data Part            -   1-1-3-4. Sub-image Part        -   1-1-4. Correspondence to the Present Invention    -   1-2. Recording Operation (Continuous Shooting Mode)        -   1-2-1. Flow of Recording Operation        -   1-2-2. Various Settings for Recording            -   1-2-2-1. Setting of Aspect Ratio of Display-Image Data            -   1-2-2-2. Setting of Image File Format            -   1-2-2-3. Setting of Pixel Count of Display-Image Data    -   1-3. Reproduction Operation (Continuous Shooting Mode)        -   1-3-1. Operation for Reproducing Image Data        -   1-3-2. Flow of Reproduction Operation according to User's            Operations on Cursor key        -   1-3-3. Flow of Reproduction Operation according to User's            Up/Down Operations on Cursor key        -   1-3-4. Flow of Reproduction Operation according to User's            Left/Right Operations on Cursor key        -   1-3-5. Screen Display in Reproduction Operation        -   1-3-6. Optional Functions in Reproduction Operation            -   1-3-6-1. Rotation of Image Data            -   1-3-6-2. Change of Aspect Ratio            -   1-3-6-3. Setting of Slide Show    -   1-4. Editing        -   1-4-1. Deletion of Image Data            -   1-4-1-1. Control when Display-Image Data is Selected            -   1-4-1-2. Control when Main Image Data or Original Image                Data is Selected        -   1-4-2. Splitting of Image Data    -   1-4-3. Resizing    -   1-5. Printing        -   1-5-1. Compatibility with PictBridge        -   1-5-2. Processing when DPOF Setting is Made    -   1-6. Transmission        -   1-6-1. Flow Chart of Transmission of Image Data        -   1-6-2. Flow Chart of Transmission of Image File        -   1-6-3. Automatic Selection of Image Data to be Transmitted        -   1-6-4. Transmission of Thumbnails with PictBridge

2. Second Embodiment

-   -   2-1. Recording Operation (Multi aspect Mode)    -   2-2. Reproduction Operation (Multi aspect Mode)

3. Third Embodiment

-   -   3-1. Recording Operation (Multi aspect Mode 2)    -   3-2. Reproduction Operation (Multi aspect Mode 2)

4. Fourth Embodiment

-   -   4-1. Recording Operation (Panorama mode)    -   4-2. Reproduction Operation (Panorama mode)

5. Fifth Embodiment

-   -   5-1. Recording Operation (Auto bracket Mode)    -   5-2. Reproduction Operation (Auto bracket Mode)

6. Sixth Embodiment

-   -   6-1. Editing        -   6-1-1. Deletion of Image Data        -   6-1-2. Control upon Deletion of Main Image Data

7. Other Embodiments

1 First Embodiment

A first embodiment of a digital camera according to the presentinvention is described next.

1-1 Configuration

1-1-1 Configuration of a Digital Camera

FIG. 1 is a block diagram showing the configuration of a digital camera101 according to a first embodiment of the invention. This digitalcamera 101 photographs subjects formed by an optical system 120 on a CCDimage sensor 141. The image data captured by the CCD image sensor 141 isthen processed by an image processor 160 and stored on a memory card 108or internal memory 109. The image data stored on the memory card 108,for example, can be displayed on an LCD monitor 110. The configurationof this digital camera 101 is described below.

The optical system 120 includes an objective lens 121, zoom lens 122,aperture 123, optical image stabilization (OIS) unit 124, and a focuslens 125. The optical system 120 focuses light from the subject andforms the subject image.

The objective lens 121 is the lens closest to the subject. The zoom lens122 enlarges or reduces the subject image by moving along the opticalaxis of the optical system 120. The aperture 123 adjusts the size of thelens opening as controlled automatically or manually by the user toadjust the amount of light passing through the optical system 120. TheOIS unit 124 has an internal correction lens that can move in the planeperpendicular to the optical axis. The OIS unit 124 reduces subject blurby driving the correction lens in the direction that cancels movement ofthe digital camera 101. The focus lens 125 adjusts the focus of thesubject by moving along the optical axis of the optical system 120.

A drive system 130 drives the optical elements of the optical system120.

A zoom motor 132 drives the zoom lens 122 along the optical axis of theoptical system 120. The zoom motor 132 may drive the zoom lens 122 usinga cam mechanism or a ball and screw mechanism, for example. The zoommotor 132 may be a pulse motor, a DC motor, a linear motor, a servomotor, or other type of motor.

The aperture actuator 133 is a drive unit for changing the size of theopening of the aperture 123. The aperture actuator 133 can be achievedusing a motor, for example.

The OIS actuator 134 drives the correction lens inside the OIS unit 124in the plane perpendicular to the optical axis. The OIS actuator 134 maybe a flat coil or ultrasonic motor, for example.

The focus motor 135 drives the focus lens 125 along the optical axis ofthe optical system 120. The focus motor 135 may drive the focus lens 125using a cam mechanism or a ball and screw mechanism, for example. Thefocus motor 135 may be a pulse motor, a DC motor, a linear motor, aservo motor, or other type of motor. Alternatively, the focus motor 135may be omitted and the zoom motor 132 used as the drive means fordriving both the zoom lens 122 and the focus lens 125.

The CCD image sensor 141 captures the subject image formed by theoptical system 120 to generate image data. The timing generator 142generates the timing signal for driving the CCD image sensor 141. TheCCD image sensor 141 controls various operations including exposure,data transfer, and the digital shutter according to the timing signalsupplied by the timing generator 142. An analog/digital (A/D) converter105 converts the image data generated by the CCD image sensor 141 to adigital signal.

The image processor 160 applies various processes to the image dataconverted by the A/D converter 105. The image processor 160 processesthe image data generated by the CCD image sensor 141 to generate imagedata to be stored in a memory card 108 and/or image data to be displayedon the LCD monitor 110. The image processor 160 also processes the imagedata stored in the memory card 108 to generate image data to bedisplayed on the LCD monitor 110, image data to be stored again to thememory card 108, and/or image data to be sent through a communicationunit 111 to an external device. The image processor 160 may beconfigured using a DSP or microprocessor, for example.

A preprocessor 161 applies various image processing operations, such asgamma correction, white balance correction, and scratch removal to theimage data converted by the A/D converter 105. The YC conversion unit162 converts RGB image data to image data represented by YC(Y=luminance, C=chrominance) signals.

The electronic zoom processing unit 165 digitally enlarges or reducesthe image data. When digitally enlarging or reducing the image data, theelectronic zoom processing unit 165 appropriately applies processincluding interpolation, subsampling, and cropping to the image data.More specifically, the electronic zoom processing unit 165 is a meansfor converting the pixel count of the image data.

The compression unit 163 compresses the YC image data using a DCT(discrete cosine transform), Huffman encoding, or other technique. Thecompression unit 163 preferably compresses the image data using acompression method compatible with the JPEG format, but the invention isnot limited to using JPEG image data.

The decompression unit 164 decodes the compressed image data to theuncompressed form when displaying compressed image data stored in thememory card 108 on the LCD monitor 110, for example.

The controller 150 is a control means for controlling overall operationof the digital camera 101. The controller 150 may be rendered using asemiconductor chip, for example. The controller 150 may be rendered as ahardware-only device or using a combination of both hardware andsoftware. The controller 150 may be rendered using a microprocessor.

Buffer memory 115 functions as working memory for the image processor160 and controller 150. The buffer memory 115 may be rendered using DRAMor ferroelectric memory, for example. A card slot 107 accommodates aremovable memory card 108. The card slot 107 enables mechanically andelectrically connecting the memory card 108. The memory card 108 hasinternal flash memory or ferroelectric memory for storing data.

The internal memory 109 can be rendered using flash memory orferroelectric memory, for example. The controller 150 can store thegenerated image files to the memory card 108 or the internal memory 109.The controller 150 can also read image files stored in the memory card108 and write the files to internal memory 109, or read image filesstored in the internal memory 109 and write the files to the memory card108.

The LCD monitor 110 can display the images presented by the image datagenerated by the CCD image sensor 141, and images presented by the imagedata read from the memory card 108, for example. The LCD monitor 110 canalso display the settings of the digital camera 101. The LCD monitor 110can, for example, display the exposure value (EV).

The communication unit 111 is a means for communicating with an externaldevice. The communication unit 111 can be rendered using a wireless LANor a USB communication unit, for example. The operating unit 170collectively refers to various operating devices. The operating unit 170receives instructions from the user and communicates those instructionsto the controller 150. The flash 113 emits light to illuminate thesubject.

The rotation detector 190 detects rotation of the digital camera 101.The controller 150 can acquire information about the rotation of thedigital camera 101 detected by the rotation detector 190. The rotationdetector 190 may be rendered using a rotation sensor or angle sensor.The OIS actuator 134 may function as the rotation detector 190. This isbecause the OIS actuator 134 can detect how much the camera body hasbeen tilted from the drive current level.

1-1-2 Configuration of Back of Digital Camera

FIG. 2 shows the back of the digital camera 101 according to this firstembodiment of the invention. Various operating units are described belowwith reference to FIG. 2.

A shutter release button 171, zoom dial 172, and mode dial 174 aredisposed on top of the camera body. The shutter release button 171detects when it is depressed. When the shutter release button 171 isdepressed part way, the controller 150 starts automatic exposure (AE)control or automatic focus (AF) control. When the shutter release button171 is depressed all the way, the digital camera 101 takes a picture.

The zoom dial 172 is disposed so that it can be rotated around theshutter release button 171. As the zoom dial 172 is rotated, thecontroller 150 starts optical zoom control or electronic zoom control.

The mode dial 174 is operated by rotating it. A dial is disposed to themode dial 174 and the operating modes of the digital camera 101 areassigned to specific positions on the dial. The operating modes of thedigital camera 101 include a reproduction (view) mode and a recordingmode. The controller 150 controls the digital camera 101 in theoperating mode indicated by the mode dial 174 according to therotational position of the mode dial 174.

A power switch 173, cursor key 180, delete button 186, and the LCDmonitor 110 are disposed on the back of the camera body. The powerswitch 173 is slidable. The power switch 173 switches the power state ofthe digital camera 101 according to the sliding position.

The LCD monitor 110 displays image data stored in the memory card 108and operating menus according to the operating mode selected by the modedial 174.

The cursor key 180 detects operation of five buttons, including fourdirectional buttons and a center button. The controller 150 controls thecontent displayed on the LCD monitor 110, including changing thedisplayed image data, based on how the cursor key 180 is operated.

The delete button 186 detects when it is depressed. The controller 150detects the pre-selected image data according to operation of the deletebutton 186.

1-1-3. Data Structure of Image File Format

1-1-3-1. Structure of Entire File

FIG. 3 is a view illustrating the data structure of an image file formatwhich is handled by the digital camera 101 according to a firstembodiment of the present invention. With reference to FIG. 3, the datastructure of the image file format will be described.

A multiple image file D10 stores main image data D25 and plural piecesof sub-image data D33, . . . , . As the plural pieces of sub-image data,there are stored, for example, sub-image data D33, sub-image data D43and sub-image data D53. The sub-image data is original image data ordisplay-image data. The display-image data is image data created basedon the main image data or the original image data. The original imagedata is image data having an image size (resolution) equal to that ofthe main image data and contains data for example as follows:

-   -   second image data or image data after the second image data,        which were captured in a continuous shooting mode;    -   image data captured in an auto bracket mode;    -   image data composing a panorama image;    -   image data captured in a multi aspect mode.

A FAT (File Allocation Table) stored in the memory card 108 manages themultiple image file D10 as a single file, by managing a head identifierD22 and an end identifier D54. The controller 150 is capable ofdifferentially managing the respective image files by reading the FAT.

Hereinafter, the structure of the multiple image file D10 will bedescribed in detail.

1-1-3-2. Main Header Part

1-1-3-2-1. Structure of Entire Main Header Part

The main header part D20 includes a head identifier D22 and a headerpart D23.

The head identifier D22 is a marker indicative of the start point of themultiple image file D10 and is start information (xFFD8) about a filedefined by the JPEG standard, for example.

The header part D23 is an area which stores management data for theentire multiple image file D10. The header part D23 includes, asmanagement data, a management table T10, thumbnail image data D24, modeinformation D27 and the like.

The management table T10 contains information for differentiating themain image data D25 and the plural pieces of sub-image data D33, D43 andD53 from one another. In other words, the management table T10 containsinformation for performing management as to what features are possessedby the respective image data. For example, the management table T10contains a sub-image identifier indicative of whether each of at leastsome of the sub-image data stored in the file is original image data ordisplay image data, and sub-image-data information about the creation ofthe sub-image data. In this case, the sub-image-data information isinformation indicative of the features of the sub-image data. Forexample, the sub-image-data information is information indicative of anorder of image data in a series of image data captured in the continuousshooting operation in the digital camera 101. The use of this tableenables the controller 150 to easily search for sub-image data ofinterest.

The thumbnail image data D24 is reduced image data created based on themain image data D25. The thumbnail image data D24 has an image size of160 dots in the horizontal direction and 120 dots in the verticaldirection, for example. According to the Exif standard, the thumbnailimage data D24 is defined as being stored in the header part D23.

Mode information D27 contains information indicative of the operationmode of the digital camera 101 when the multiple image file D10 iscreated or edited. For example, in the case where the multiple imagefile D10 is created when taking images in the continuous shooting mode,the mode information D27 contains information indicative of thecontinuous shooting mode. This enables the controller 150 to rapidlyprocess the multiple image file D10. For example, in the case where themode information D27 indicates the continuous shooting mode, thecontroller 150 can successively reproduce, on a television, the displayimage data corresponding to the respective image data captured bycontinuous shooting which are stored in the multiple image file D10, byreferring to the mode information D27, without analyzing the image datain the multiple image file D10.

1-1-3-2-2. Management Table

With reference to FIG. 4, the management table T10 will be described indetail. FIG. 4 is a schematic view of the management table T10. Themanagement table T10 manages a head address T11, a sub-image identifierT12 and sub-image-data information T13 with those associated with eachother.

The head address T11 is information indicative of the head address ofthe area which stores the main image data or sub-image data.

The sub-image identifier T12 is an identifier indicative of whether thesub-image data is original image data or display-image data. When thesub-image identifier is “0”, it indicates that the correspondingsub-image data is original image data. When the sub-image identifier is“1”, it indicates that the corresponding sub-image data is display-imagedata. However, the sub-image identifier is not necessarily required tohave a value of “0” and “1” and can have a value of “10” and “11” or avalue of “10” and “11”. Namely, the sub-image identifier can have anyvalues capable of expressing two different patterns.

In this case, the controller 150 is capable of properly specifying whichsub-image data is original image data or which sub-image data aredisplay-image data.

For example, the controller 150 can specify image data with a pixelcount equal to that of the main image data, as original image data, andspecify image data with a pixel count smaller than that of the mainimage data, as display-image data.

Also, the controller 150 can specify image data created independently ofany image data in the multiple image file D10, as original image data,and can specify image data created based on the original image data, asdisplay-image data.

Further, the controller 150 can change the method for specifyingoriginal image data or display-image data according to the modeinformation D27. For example, when the mode information D27 indicates ared-eye reduction mode, the controller 150 can specify original imagedata and display-image data according to the pixel counts. When the modeinformation D27 indicates a mode for storing image data with differentpixel counts in a single file, the controller 150 can specify originalimage data and display-image data according to whether or not image datahave been independently created.

Next, there will be described the reason why the sub-image identifier isstored in the header part D23. If there is no sub-image identifier, thecontroller 150 would be required to read all the sub-image headers orsub-image data in order to search for sub-image data. However, if allthe sub-image headers and sub-image data every time the sub-image datais searched for, the processing would be complicated, thereby imposinglarge burden on the controller 150 for the processing. Therefore, inorder to overcome this problem, the sub-image identifiers are stored inthe header part D23.

Next, there will be described the reason why the sub-image identifiersare provided for distinguishing two types of images. If the sub-imageidentifier is provided for distinguishing three or more types of images,the controller 150 would be required to determine which of the three ormore types of image data correspond to the respective sub-image data, increating sub-image data. However, if it is necessary to determine whichof the three or more types of image data correspond to respectivesub-image data every time the sub-image data is created, the processwould be complicated, thereby imposing large burden on the controller150 for processing. Therefore, in order to overcome this problem, thesub-image identifiers are provided for distinguishing two types ofimages.

Next, there will be described the reason why an identifier indicative oforiginal image data and an identifier indicative of display-image dataare provided as sub-image identifiers. In many cases, search forsub-image data using the sub-image identifiers is required fordisplaying image data. In this case, it is enough to search forsub-image data in view of whether sub-image data is display-image dataor image data (original image data) which is the basis of the sub-imagedata. Therefore, in order to increase the search efficiency, anidentifier indicative of original image data and an identifierindicative of display-image data are provided, in line with theviewpoint of searching which is executed most frequently.

Further, by providing the sub-image identifiers, the controller 150 canselect a method for reproducing image data, according to the sub-imageidentifiers. For example, when a user performs a frame-by-frameoperation with the digital camera 101, if there are original image dataand the corresponding display-image data, following image data beingcurrently reproduced, in the same image file as the image file storingthe currently-reproduced image data, then the following display-imagedata in the same image file is reproduced. On the other hand, if thereis no original image data and no corresponding display-image data,following the image data being currently reproduced in the same imagefile, it is possible to reproduce display-image data stored in adifferent image file.

The sub-image-data information T13 is information indicative of whatfeatures are possessed by the sub-image data in a predetermined mode.Namely, the sub-image-data information T13 is an identifier indicativeof information relating to creation of the sub-image data. For example,the sub-image-data information T13 is information indicative of theorder of capturing image data in the continuous shooting operation. Morespecifically, it is assumed that in the continuous shooting mode imagedata firstly captured by the digital camera 101 is stored as main imagedata in the multiple image file D10 and image data captured secondary orlater is stored therein as sub-image data. In this case, for example,information indicative of the order of each sub-image data is thesub-image-data information. Further, it is assumed that in the autobracket mode image data with a predetermined EV value captured by thedigital camera 101 is stored as main image data in the multiple imagefile D10, and image data with other EV values are stored therein assub-image data. In this case, for example, the EV value of eachsub-image data is sub-image-data information.

Since the header part D23 stores the sub-image-data information T13, thecontroller 150 is capable of selecting a reproduction method suitablefor the features of the respective sub-image data, by referring to thesub-image-data information T13. For example, when each header part D23stores the EV value of each image data as the sub-image-data informationT13 and there are plural multiple image files D10 created by capturingimages in the bracket mode, the controller 150 can selectively reproduceonly the sub-image data having the same EV value.

Further, when the header part D23 stores information about presence orabsence of red-eye removal processing on image data as thesub-image-data information T13 and there are plural multiple image filesD10 created by capturing images in the red-eye removal mode, thecontroller 150 can selectively reproduce only the images which have beensubjected to the red-eye removal processing.

1-1-3-2-3. Thumbnail Image Data

Returning to FIG. 3, there will be described the thumbnail image dataD24. The thumbnail image data D24 is created as a result of theexecution of subsampling processing, cutout processing, interpolationprocessing and the like on the main image data D25 by an electronic zoomprocessing unit 165. The header part 23 stores the thumbnail image dataD24. This enables the LCD monitor 110 to display thumbnail images,instantaneously.

1-1-3-2-4. Mode Information

Next, the mode information storage part D27 will be described. The modeinformation storage part D27 stores information about operation mode ofthe digital camera 101 for creating or editing the multiple image fileD10. Here, the operation mode includes, for example, a continuousshooting mode, a multi aspect mode, a panorama mode, an auto bracketmode, a red-eye removal mode, and the like.

The “continuous shooting mode” is a mode for capturing a pre-set numberof images at regular intervals by pressing continuously a release button171 of the digital camera 101.

The “multi aspect mode” is a mode for, when taking image data with apredetermined aspect ratio, creating image data with plural aspectratios in addition to image data with the predetermined aspect ratio.

The “panorama mode” is a mode for taking plural pictures having portionsoverlapped with one another in the vertical and horizontal directions,thereby enabling them to be synthesized to create a panorama picture.

The “auto bracket mode” is a mode for enabling creation of plural imageswith different exposure times, by pressing, once, the release button 171of the digital camera 101.

The “red-eye removal mode” is a mode for, in cases where image datacaptured before exhibits a red-eye phenomenon, correcting this to createmodified image data.

By preliminarily storing the mode information as described above, thecontroller 150 can change the method for reproducing image data,according to the mode information D27. Namely, on receiving a user'scommand for frame-advance reproduction from currently reproduced imagedata to the next image data, the controller 150 can decide which imagedata should be reproduced and can reproduce the decided image data,according to the mode information stored in the header part of the imagefile storing the image data being currently reproduced. For example,plural images captured in the continuous shooting mode are images whichare substantially equal to one another. This permits reproducing only asingle image, out of plural images captured in the continuous shootingmode, without reproducing other images. Further, on receiving a nextcommand for frame-by-frame reproduction, image data stored in adifferent image file can be reproduced.

1-1-3-2-5. Other Stored Information

Further, the header part D23 stores protection information about themain image data and the sub-image data, in addition to the managementtable T10, the thumbnail image data D24 and the mode information storagepart D27. Once the protection information is stored, the main image dataD25 is protected against deletion. Namely, the main image data D25 isprevented from being deleted until the protection information is erased.

In this case, the protection information about the main image data canbe stored in the main header, and the protection information about thesub-images can be stored in the sub-image headers corresponding to therespective sub-image data. This enables the main image and thesub-images to be protected independently of one another. Further, it isnecessary to update only headers for the protections or releasing theprotection for the respective images, thus to facilitate handling ofdata.

In the present embodiment, the protection information about the mainimage data and the protection information about the sub-image data arestored in the respective corresponding headers. However, it is notnecessarily required to employ such an arrangement.

For example, by storing protection information in the main header, theentire image data in the image file can be protected. This permitscollectively handling the protection for the entire image data stored inthe same image file.

Also, the main header can be made capable of storing two pieces ofprotection information and also, the sub-image headers can be madecapable of storing protection information. In this case, one piece ofthe protection information stored in the main header manages the stateof the protection for the entire image data in the image file. The otherpiece of the protection information manages the state of the protectionfor the main image data. The protection information stored in thesub-image headers manages the states of the protection for thecorresponding sub-image data. This enables the user to selectcollectively-managing the protection state of the image data on aper-file basis or independently-managing the protection states of therespective image data.

1-1-3-3. Main Image Data Part

A main image data part D21 stores information about the main image. Themain image data D25 is an image which is created by compressing imagedata of an image captured by the digital camera 101 to a JPEG format.However, the main image data D25 is not necessarily image datacompressed to a JPEG format, but can be image data such as GIF data orRAW data. Namely, the main image data D25 is not necessarily compressed.Even when the main image data D25 is compressed, the format of thecompression is not limited.

An end identifier D26 is a marker (xFFD9) indicative of the end point ofthe main image data part D21. By providing a table for managing thismarker in the header part D23, it does not need to add a new SOI and EOIto the file when splitting a part of all pieces of image data from themultiple image file D10. This can facilitate splitting of the file.

1-1-3-4. Sub-image Part

Referring to FIG. 3, a sub-image data part D30, a sub-image data partD40 and a sub-image data part D50 constitute sub-image parts.

The sub-image data part D30 stores information about a first sub-image.A head identifier D31 is a marker indicative of the start point of thesub-image data part D30. A table for managing this marker is provided inthe header part D23. This can facilitate search for sub-image data.Further, in splitting the file, it is possible to easily find the splitpoint. Further, by providing this marker, it does not need to add a newSOI or EOI to the file when splitting the multiple image file D10. Thisfacilitates splitting of the file.

A sub-image header D32 stores attribute information about the sub-imagedata D33. For example, the sub-image header D32 stores information aboutthat the sub-image data D33 is display-image data, and the like.

Further, the sub-image header D32 stores thumbnail image data of thesub-image data D33. The thumbnail image data is created based on thesub-image data. For example, the sub-image header D32, the sub-imageheader D42 and the sub-image header D52 store respective thumbnail imagedata. This permits instantaneously displaying thumbnail images of thesub-image data.

The Exif standard defines that a header part should contain thumbnailimage data. Accordingly, when sub-image data is separated from the mainimage data, it is necessary to newly store thumbnail image data in thesub-image header. Since, in the present embodiment, the sub-image dataheaders store thumbnail image data corresponding to the sub-image data,it does not need to newly store thumbnail image data in the sub-imageheader when separating sub-image data.

The sub-image data D33 is display-image data and the like, which hasbeen created based on the main image data D25. The sub-image data isstored after the main image data. The display-image data is stored afterthe original image data which is the basis of the display-image data,which facilitates search for the corresponding display-image data.However, the sub-image data D33 is not necessarily display-image databut can be original image data.

An end identifier D34 is a marker indicative of the end point of thesub-image data part D30. A table for managing this marker is provided inthe header part D23. Accordingly, when splitting the multiple image fileD10, it is not necessary to add a new SOI or EOI to the file. Thisfacilitates splitting of the file.

The sub-image data part D40 and the sub-image data part D50 have thesame structure as that of the sub-image data part D30.

1-1-4. Correspondence to the Present Invention

The structure constituted by the controller 150, the image processor 160and the like is an example of a reproduction unit according to thepresent invention. The structure constituted by a right key 182 and aleft key 184 is an example of a first operation unit according to thepresent invention. The structure constituted by an up key 181 and a downkey 183 is an example of a second operation unit according to thepresent invention. The structure constituted by the controller 150 andthe like is an example of a reading unit according to the presentinvention. The structure constituted by a cursor key 180 is an exampleof a reception unit according to the present invention. The controller150 is an example of a control unit according to the present invention.

The controller 150 is an example of a determination unit according tothe present invention. The controller 150 is an example of a decisionunit according to the present invention. The LCD monitor 110 is anexample of an output unit according to the present invention. Thecommunication unit 111 is an example of the output unit according to thepresent invention. The memory card 108 is an example of a storage unitaccording to the present invention. The internal memory 109 is anexample of a storage unit according to the present invention. Thecontroller 150 is an example of a deletion unit according to the presentinvention. The controller 150 is an example of a restructuring unitaccording to the present invention. The communication unit 111 is anexample of a communication unit according to the present invention. Thecontroller 150 is an example of an ID association unit according to thepresent invention. The controller 150 is an example of a selectionreception unit according to the present invention. The controller 150 isan example of a transmission unit according to the present invention.The controller 150 is an example of an image-data transmission unitaccording to the present invention. The controller 150 is an example ofa recognition unit according to the present invention. The digitalcamera 101 is an example of an image-file reproduction device accordingto the present invention. The digital camera 101 is an example of animage-data reproduction device. The digital camera 101 is an example ofan image information output device. The digital camera 101 is an exampleof an image-data deletion device. The digital camera 101 is an exampleof an image-file restructuring device. The digital camera 101 is anexample of an image-data transmission device.

1-2. Recording Operation (Continuous Shooting Mode)

There will be described an operation for recording image data, in thecase where the digital camera 101 according to the first embodiment isset to the continuous shooting mode.

1-2-1. Flow of Recording Operation

With reference to FIG. 5, there will be described a recording operation,in the case where the digital camera 101 is set to the continuousshooting mode. FIG. 5 is a flow chart of a recording operation, in thecase where the digital camera 101 is set to the continuous shootingmode. If the user operates the operation unit 170 to set the digitalcamera 101 to the continuous shooting mode, the continuous shooting modeis started (S101). If the continuous shooting mode is selected, thecontroller 150 is on standby until the release button 171 is completelypressed (S102). If the release button 171 is completely pressed, the CCDimage sensor 141 captures image data (S103). The image processor 160creates JPEG image data, based on the image data (S104). The controller150 stores, in the buffer memory 115, the created JPEG image data, andauxiliary information about this JPEG image data (for example,information about shooting date and time, information about the order ofcapturing images in continuous shooting, and the like).

Next, the controller 150 determines whether or not the continuousshooting mode should be ended (S106). In the present embodiment, thenumber of images to be successively captured in the continuous shootingmode can be preliminarily set. Accordingly, when the preliminarily setnumber of image data have been already captured, the controller 150determines that the continuous shooting mode is ended.

If it is determined that the continuous shooting mode is not ended, theCCD image sensor 141 successively captures image data and repeats theprocessing thereafter (S103 to S106).

On the other hand, if the controller 150 determines that the continuousshooting mode is ended, the controller 150 creates display-image datacorresponding to all pieces of the JPEG image data stored in the buffermemory 115 (S107). The controller 150 stores the created display-imagedata in the buffer memory 115 (S108). As described above, thedisplay-image data are created, after all pieces of image data arecreated in continuous shooting. With this arrangement, the controller150 can concentrate on only the processing for creating image data bycontinuous shooting, during capturing images by the continuous shooting.Further, the controller 150 can concentrate on only the processing forcreating display-image data, during creating display-image data.

Next, the controller 150 determines whether or not the digital camera101 is being set to a multiple image file creation mode (S109). In thiscase, the term “multiple image file” refers to one image file capable ofstoring main image data, one or more pieces of original image data andone or more pieces of display-image data.

If the controller 150 determines that the digital camera 101 is beingset to the multiple image file creation mode, the controller 150combines all pieces of the JPEG image data, all pieces of thedisplay-image data and all pieces of auxiliary information, which arestored in the buffer memory 115 to create one multiple image file(S110). The controller 150 stores the created multiple image file in thememory card 108 or the internal memory 109 (S111). For example, in themultiple image file creation mode, in the case where two image data arecaptured in the continuous shooting mode, a multiple image file D60illustrated in FIG. 6 is created. Further, a management table includedin the multiple image file D60 is a management table T60 illustrated inFIG. 7.

On the other hand, if the controller 150 determines that it is not beingset to the multiple image file creation mode, the controller 150 createsa single image file for each JPEG image data stored in the buffer memory115 (S112). In this case, the term “a single image file” refers to oneimage file capable of storing single main image data, one or moredisplay-image data and auxiliary information related to the main imagedata. The single image file is created from the JPEG image data, thedisplay-image data related to the JPEG image data, and the auxiliaryinformation related to this JPEG image data which is stored in thebuffer memory 115. The controller 150 stores the created single imagefile in the memory card 108 or the internal memory 109 (S113). Forexample, in the single image file creation mode, in the case where twoimage data are captured in the continuous shooting mode, a single imagefile D70 and a single image file D80 illustrated in FIG. 8 are created.Further, management tables included in the single image files D70 andD80 are illustrated as management tables T70 and T80 in FIG. 9,respectively.

Further, although in the present embodiment display-image data iscreated after main image data and original image data are all capturedat first, it is also possible to create display-image data together withthe creation of main image data and original image data at the time ofshooting, temporarily store these image data in the buffer memory 115and combine after the completion of the continuous shooting, the mainimage data, all pieces of the original image data and all pieces of thedisplay-image data which are stored in the buffer memory 115 to createan image file.

1-2-2. Various Settings for Recording

There will be described various types of settings for recording imagedata with the digital camera 101 according to the first embodiment ofthe present invention. There will be described, as various types ofsettings, a setting of the aspect ratio of display-image data, a settingof the recording format, and a setting of the pixel count ofdisplay-image data.

1-2-2-1. Setting of Aspect Ratio of Display-Image Data

With reference to FIG. 10 and FIG. 11, there will be described thesetting of the aspect ratio of display-image data, in the digital camera101 according to the first embodiment of the present invention. FIG. 10is a view illustrating a selection menu for the aspect ratio of thedisplay on the LCD monitor 110 on the back of the digital camera 101.FIG. 11 is a schematic view of an image file created as a result ofcontinuous shooting for two images in the continuous shooting mode, inthe case where an aspect ratio of display-image data has beenpreliminarily selected.

The user can preliminarily set the aspect ratio of display-image data tobe recorded. The user can set the aspect ratio of display-image data tobe displayed, through a menu screen as that illustrated in FIG. 10. Forexample, the user can select a single aspect ratio, out of aspect ratiosof 16:9, 4:3 and the like.

In cases where images are captured at a state where an arbitrary aspectratio is set, the image processor 160 performs processing on image dataoutputted from the CCD image sensor 141 for converting the aspect ratioof the display-image data into the set aspect ratio. The controller 150creates a multiple image file G10 as illustrated in FIG. 11, based onthe image data with the converted aspect ratio and, then, stores thecreated image file, in the memory card 108 or the internal memory 109.

This structure enables the user to record image data with an aspectratio which matches the aspect ratio of a display device which the userusually uses.

Further, in creating the image file, the controller 150 storesinformation G12 about the selected aspect ratio, in its header part G11.This structure permits selecting image data which matches the aspectratio of the display device only by checking the main header.

1-2-2-2. Setting of Image File Format

With reference to FIG. 12 and FIG. 13, there will be described theselection of an image file format, in the digital camera 101 accordingto the first embodiment of the present invention. FIG. 12 is a viewillustrating a selection menu for an image file format of the display onthe LCD monitor 110 on the back of the digital camera 101. FIG. 13 is aschematic view of an image file created as a result of continuousshooting for two images in the continuous shooting mode, in the casewhere an image file format has been preliminarily selected.

The user can preliminarily select an image file format of image data tobe recorded. The user selects an image file format of an image filewhich stores image data, through a menu screen as that illustrated inFIG. 12. For example, the user selects one image file format from amultiple image file format, a single image file format, an Exif-fileformat, and the like.

In cases where images are captured at a state where an arbitrary imagefile format has been selected, the controller 150 creates an image filewhich conforms to the preliminarily-selected image file format. Thecontroller 150 stores the created image file, in the memory card 108 orthe internal memory 109. For example, if the multiple image file formatis selected and two images are captured by continuous shooting in thecontinuous shooting mode, a multiple image file G20 illustrated in FIG.13 is created.

This structure enables the user to select an image file format accordingto his or her preferences. For example, a user who does not want to makethe size of a single image file excessively larger can select the singleimage file format for preventing the size of a single image file frombecoming excessively larger.

Further, the header part G21 of the multiple image file G20 in FIG. 13stores information about the image file format of the multiple imagefile G20.

With this arrangement, it is possible to make a reference to the formatinformation about the image file only by referring to the header partG21.

1-2-2-3. Setting of Pixel Count of Display-Image Data

With reference to FIG. 14 and FIG. 15, there will be described theselection of a pixel count of display-image data, with the digitalcamera 101 according to the first embodiment of the present invention.FIG. 14 is a rear view of the digital camera 101 at a state where aselection menu for the pixel count (image size) of display-image data isbeing displayed on the LCD monitor 110. FIG. 15 is a schematic view ofan image file created as a result of continuous shooting for two imagesin the continuous shooting mode, in the case where a size ofdisplay-image data has been preliminarily selected.

The user can preliminarily select a pixel count (an image size) ofdisplay-image data to be recorded. The user selects a pixel count ofdisplay-image data, through a menu screen as that in FIG. 14. Forexample, the user selects a single pixel count of display-image data,out of VGA (640 horizontal pixels×480 vertical pixels), HDTV (1088horizontal pixels×612 vertical pixels), and the like.

When images are captured at a state where an arbitrary pixel count ofdisplay-image data has been selected, the controller 150 creates animage file from captured image data and display-image data with thepreliminarily-selected pixel count. The controller 150 stores thecreated image file in the memory card 108 or the internal memory 109.

This arrangement enables the user to select images to be displayed whichmatch the pixel count of the display device which the user uses mostfrequently. Further, since only display-image data with the pixel countselected by the user are recorded, the memory can be saved more incomparison with cases where there are plural pieces of display-imagedata having different pixel counts.

The header part G31 of the multiple image file G30 in FIG. 15 storesinformation about the pixel count (the image size) of the display-imagedata. With this arrangement, the controller 150 can recognize the pixelcount (the image size) of the display-image data, only by referring tothe header part G31.

Further, in the present embodiment, the user selects only a single pixelcount of display-image data and the controller 150 creates display-imagedata having the selected pixel count. However, it is not necessarilyrequired to this. For example, the user may select plural pixel countsof display-image data and the controller 150 may create plural pieces ofdisplay-image data having the selected plural pixel counts. Also, thecontroller 150 may create display-image data having preset plural pixelcounts. In this case, the main header of an image file or the sub-imageheaders corresponding to each display-image data stores informationabout the pixel counts of the display-image data.

With this arrangement, in displaying image data on the display device,preliminarily-prepared display image data is displayed. Accordingly, itis possible to rapidly display image data which matches display deviceshaving various pixel counts. Further, by storing, in the headers,information about the pixel counts of display-image data, the controller150 can search for display image data which matches the pixel count ofthe display device, only by referring to the headers.

1-3. Reproduction Operation (Continuous Shooting Mode)

With reference to FIGS. 16 to 21, there will be described an operationfor reproducing image data with the digital camera 101 according to thefirst embodiment of the present invention. FIG. 16 is a flow chartillustrating a reproduction operation with the digital camera 101,according to user's operations on the cursor key. FIG. 17 is a flowchart illustrating a reproduction operation with the digital camera 101according to user's up/down operations on the cursor key. FIG. 18 is aview illustrating transitions of image data to be reproduced by thedigital camera 101 according to user's up/down operations on the cursorkey. FIG. 19 is a flow chart illustrating a reproduction operation withthe digital camera 101 according to user's leftward/rightward operationson the cursor key. FIG. 20 is a view illustrating transition of imagedata to be reproduced by the digital camera 101 according to user'sleftward/rightward operations on the cursor key. FIG. 21 is a rear viewof the digital camera 101 which is displaying, on the LCD monitor 110,single image data in an image file storing plural pieces of image data.

1-3-1. Operation for Reproducing Image Data

The digital camera 101 reproduces image data, when the user operates themode dial 174 to set the digital camera to the reproduction mode.

When the digital camera is set to the reproduction mode, the controller150 reads an image file storing image data to be reproduced, out of theimage files stored in the memory card 108 or the internal memory 109.The controller 150 transfers the read image file to a decompression unit164.

The decompression unit 164 decompresses the received image file andtransfers the decompressed image file to the controller 150.

The controller 150 displays, on the LCD monitor 110, an image to bereproduced in the image data stored in the received image file. In thiscase, when the received image file stores display-image data which has apixel count matching the pixel count of the LCD monitor 110 and whichalso corresponds to the image data to be reproduced, the controller 150displays this display-image on the LCD monitor 110. On the other hand,when there is stored no display-image data having a pixel count matchingthat of the LCD monitor 110, the controller 150 causes the electroniczoom processing unit 165 to create image data having a pixel count whichmatches the pixel count of the LCD monitor 110, based on the main imagedata or the original image data. Then, the controller 150 causes the LCDmonitor 110 to display the created image. Namely, the controller 150reads the aforementioned stored image file from a storage medium capableof storing plural image files capable of storing plural pieces of imagedata and reproduces it.

Further, in cases where an external device (for example, an externaldisplay device such as a television or an external monitor) is connectedto the digital camera 101 with or without wires through thecommunication unit 111, the controller 150 transmits the image data tobe reproduced in the received image file, to the external device. Inthis case, similarly, it is determined whether image data to bedisplayed on the external device is newly created or not, depending onwhether or not the received image file stores display-image data whichmatches the pixel count of the external device. When an external deviceis connected to the digital camera 101, image data can be displayed oneither one or both of the LCD monitor 110 and the external device.

1-3-2. Flow of Reproduction Operation according to User's Operations onCursor Key

Next, there will be described the flow of operations with the digitalcamera 101 when the user generates a command for changing image data tobe reproduced. During reproducing an image, the user can change theimage data to be reproduced on the digital camera 101, by pressing anyof the up, down, left and right keys 181 to 184 of the cursor key 180.Hereinafter, with reference to FIG. 16, the operations of the digitalcamera 101 in this case will be described.

When the user sets the digital camera 101 to the reproduction mode(S10), the digital camera 101 displays to-be-reproduced image data to bereproduced on the LCD monitor 110. Alternatively, when the digitalcamera 101 is connected to an external device through the communicationunit 111, image data is outputted to the external device and isdisplayed on the external device.

Then, the controller 150 is on standby until the cursor key 180 isoperated (S11). If the cursor key 180 is operated, the controller 150determines whether the input key is the left/right keys 182 and 184 orthe up/down keys 181 and 183 (S12).

If the controller 150 determines that the input key is the right key 182or the left key 184, the controller 150 searches for image data storedin a new image file which is stored in the memory card 108 or theinternal memory 109 (S13). More specifically, if the controller 150determines that the input key is the right key 182, the controller 150searches the memory card 108 or the internal memory 109 for an imagefile stored after the image file storing the image data being currentlyreproduced, and searches for image data stored in the searched imagefile. If the controller 150 determines that the input key is the leftkey 184, the controller 150 searches the memory card 108 or the internalmemory 109 for an image file stored before the image file storing theimage data being currently reproduced, and searches for image datastored in the searched image file. Namely, the right key 182 or the leftkey 184 functions as a key which generates a command for movement amongimage files. The processing performed when the input key is the rightkey 182 or the left key 184 will be described in more detail, later.

Further, if the controller 150 determines that the input key is the upkey 181 or the down key 183, the controller 150 searches for other imagedata stored in the image file storing the image data being currentlyreproduced (S14). More specifically, if the controller 150 determinesthat the input key is the down key 183, the controller 150 searches theimage file storing the image data being currently reproduced for imagedata stored after the image data being currently reproduced. If thecontroller 150 determines that the input key is the up key 181, thecontroller 150 searches the image file storing the image data beingcurrently reproduced for image data stored before the image data beingcurrently reproduced. Namely, the up key 181 or the down key 183functions as a key which generates a command for movement among imagedata within the same image file. The processing which is performed whenan input is performed on the up key 181 or the down key 183 will bedescribed in more detail, later.

As described above, the present embodiment provides a structure inwhich, if the “left or right key” in the cursor key is pressed, imagedata stored in an image file different from the image file storing imagedata being currently reproduced is searched for, as image data to bereproduced next. Namely, the right key 182 and the left key 184 receiveuser's commands for selecting any one of the image files stored in thememory card 108 or the internal memory 109. The controller 150reproduces predetermined image data, out of the image data stored in theselected image file, according to the operation on the right key 182 orthe left key 184.

Further, if the “up or down key” in the cursor key is pressed, otherimage data stored in the image file storing the image data beingcurrently reproduced is searched for, as image data to be reproducednext. Namely, the up key 181 and the down key 183 receive user'scommands for selecting any one of image data stored in the image fileselected through the operation on the right key 182 or the left key 184.The controller 150 reproduces the image data selected through theoperation on the up key 181 or the down key 183, out of the image datastored in the image file selected through the operation on the right key182 or the left key 184.

However, it is not necessarily required to employ the aforementionedarrangement, and the functions provided by pressing “the up and downkeys” and pressing “the left and right keys” can be interchanged.Further, in the present embodiment, the “up key” is associated with the“down key” and the “left key” is associated with the “right key”, aspairs. However, it is not necessarily required to employ theaforementioned arrangement. It is also possible to combine the “up key”and the “left key” with each other and combine the “down key” and the“right key” with each other, such that these combinations are assignedto respective functions. Further, while, in the present embodiment, the“up and down keys” and the “left and right keys” in the cursor keyrealize two operation units (means), it is not necessarily required torealize them with the cursor key. For example, it is also possible toprovide a software key which offers two or more selection options, insuch a way as to assign functions to the respective selection optionsoffered by the software key for realizing two operation units.

As described above, in the present embodiment, two types of operationunits which are the “up and down keys” and the “left and right keys” areprovided, so that the other image data stored in the image file storingthe image data being currently reproduced is reproduced according topressing of the “up or down key”, and image data stored in a new imagefile different from the image file storing the image data beingcurrently reproduced is reproduced according to pressing of the “left orright key”.

If there is only a single operation unit, in reproducing image data, theimage data can be reproduced only in the order of storage in the memorycard 108 or the internal memory 109. Further, in many cases, one imagefile stores plural pieces of image data substantially equal to oneanother which have been captured in the continuous shooting mode. Insuch cases, the users frequently consider that not all pieces of theimage data are required to be reproduced. When reproducing image dataframe by frame, with the structure according to the present embodiment,it is not necessary to reproduce all pieces of the image data stored inan image file, and it is possible to achieve frame-by-frame reproductionby reproducing only a part of all pieces of image data stored in theimage file.

1-3-3. Flow of Reproduction Operation According to User's Up/DownOperation on Cursor Key

With reference to FIG. 17, there will be described the flow of detailedreproduction operations when the up key 181 or the down key 183 in thecursor key is pressed during reproducing image data.

In the present embodiment, user's operation on the up key 181 or thedown key 183 means a command for changing the image data to bereproduced to different image data in the image file including the imagedata being currently reproduced.

If the up key 181 or the down key 183 is pressed (S21), the controller150 determines whether or not the image file storing the image databeing currently reproduced is a multiple image file (S22). The multipleimage file is an image file storing main image data, and at least onepiece of original image data. On the contrary, an image file includingonly main image data and no original image data is a single image file.Namely, the controller 150 determines whether the image file storing theimage data being currently reproduced is a single image file (firstimage file) or a multiple image file (second image file). In this case,the controller 150 can determine the type of the image file by referringto the management table T10 stored in the header part D23 of the imagefile.

If the controller 150 determines that the image file storing the imagedata being currently reproduced is a multiple image file storing mainimage data and at least one original image data, the controller 150reproduces other main image data or original image data stored in theimage file storing the image data being currently reproduced (S23). Inthis case, when the image file storing the image data being currentlyreproduced stores display-image data corresponding to the main imagedata or original image data of which pixel count matches the pixel countof the external device connected to the LCD monitor 110 or the digitalcamera 101, this display-image data is reproduced (S23).

More specifically, if the up key 181 is pressed, the controller 150reproduces the main image data, the original image data, or thedisplay-image data corresponding to the main image data or the originalimage data, which is stored before the image data being currentlyreproduced. In this case, when the image data being currently reproducedis the main image data and there is no original image data stored beforethe image data being currently reproduced, the controller 150 reproducesthe original image data or the display-image data corresponding to thisoriginal image data, which is stored at the rearmost portion of theimage file storing the main image data being currently reproduced.However, it is not necessarily required to employ this arrangement. Whenthere is no original image stored before the image data being currentlyreproduced, the controller 150 may reproduce original image data or thedisplay-image data corresponding to this original image data, which isstored at the rearmost portion of the image file positioned before theimage file storing the main image data being currently reproduced.

Further, if the down key 183 is pressed, the controller 150 reproducesthe main image data, the original image data, or the display-image datacorresponding to this main image data or this original image data, whichis stored after the image data being currently reproduced. In this case,when there is no original image data stored after the image data beingcurrently reproduced, the controller 150 reproduces the main image dataor the display-image data corresponding to this main image data, whichis stored in the image file storing the image data being currentlyreproduced. However, it is not necessarily required to employ thisarrangement. When there is no original image stored after the image databeing currently reproduced, the controller 150 may reproduce the mainimage data or the display-image data corresponding to the main imagedata which is stored in the image file stored after the image filestoring the original image data being currently reproduced.

If the controller 150 determines that the image file storing the imagedata being currently reproduced is not a multiple image file, namelythat it is an image file storing no original image data, the controller150 reads a new image file different from the image file storing theimage data being currently reproduced, from the memory card 108 or theinternal memory 109 (S24).

More specifically, if the up key 181 is pressed, the controller 150reads an image file stored before the image file storing the image databeing currently reproduced, from the memory card 108 or the internalmemory 109. If the down key 183 is pressed, the controller 150 reads animage file stored after the image file storing the image data beingcurrently reproduced, from the memory card 108 or the internal memory109.

After reading the new image file, the controller 155 reproduces the mainimage data, the original image data or the display-image datacorresponding thereto, which is stored in the read image file (S25).

More specifically, if the up key 181 is pressed, the controller 150reproduces the main image data, the original image data, or thecorresponding display-image data, which is image data stored in therearmost portion in the image data stored in the read image file.However, it is not necessarily required to employ this arrangement. Itis enough to reproduce any image data out of the image data stored inthe read image file.

Further, if the down key 183 is pressed, the controller 150 reproducesthe main image data or the display-image data corresponding to the mainimage data, out of the image data stored in the read image file.However, it is not necessarily required to employ this arrangement. Itis enough to reproduce any one of the image data stored in the readimage file.

As described above, the controller 150 included in the digital camera101 according to the present embodiment, on receiving press of the upkey 181 or the down key 183 by the user, performs different controls asto reading of a new image file different from the image file storing theimage data being currently reproduced, according to the type of theimage file storing the image data being currently reproduced.

With this arrangement, on receiving a command for frame advanceoperation of image data, the digital camera 101 according to the presentembodiment can decide whether or not a new image file should be read,only by referring to the information about the type of the image filewhich is stored in the header part D23 and the like. This permitsspeed-up of frame advance operation of image data.

Further, the controller 150 included in the digital camera 101 accordingto the present embodiment, upon receiving the up key 181 or the down key183 input by the user, performs different controls regardingreproduction of different image data from the image data being currentlyreproduced which is stored in the image file including the image databeing currently reproduced, according to the type of the image filestoring the image data being currently reproduced. With thisarrangement, the digital camera 101 according to the present embodiment,on receiving a command for frame advance operation of image data, candecide image data to be reproduced next, only by referring to theinformation about the type of the image file which is stored in theheader part D23 and the like. This permits speed-up of frame advanceoperation of image data.

With reference to FIG. 18, there will be described an example of theflow of reproducing image data with the digital camera 101 when the downkey 183 is pressed.

In the present example, the internal memory 109 stores an image file F10which is a single image file, and an image file F11 which is a multipleimage file, in this order. It is considered that image data isreproduced in this state. If the digital camera 101 is set to thereproduction mode, at first, image data created based on the main imagedata stored in the image file F10 is displayed on the LDC monitor 110.In this case, if the user presses the down key 183, the controller 150reads the image file F11 located after the image file F10, as a newimage file, since the image file F10 is a single image file. Thecontroller 150 reproduces the main image data stored at the head of theread image file F11. Then, if the user presses the down key 183, thecontroller 150 reproduces the original image data stored after the mainimage in the image file F11, without reading a new image file, since theimage file F11 is a multiple image file.

1-3-4. Flow of Reproduction Operation According to User's Left/RightOperation on Cursor Key

With reference to FIG. 19 and FIG. 20, there will be described thedetailed flow of reproduction operations when the right key 182 or theleft key 184 in the cursor key is pressed during reproducing image data.

In the present embodiment, a user's operation on the right key 182 orthe left key 184 means a command for changing the image data to bereproduced to image data stored in an image file different from theimage file storing the image data being currently reproduced.

If the right key 182 or the left key 184 is pressed (S31), thecontroller 150 reads a new image file form the memory card 108 or theinternal memory 109 (S32). Namely, the controller 150 reads an imagefile from a storage medium capable of storing image files capable ofstoring plural pieces of image data having different features. Morespecifically, if the right key 182 is pressed, the controller 150 readsan image file stored after the image file storing the image data beingcurrently reproduced. If the left key 184 is pressed, the controller 150reads an image file stored before the image file storing the image databeing currently reproduced.

After reading the new image file, the controller 150 determines whetheror not the new image file stores image data having the same feature asthat of the image data being currently reproduced (S33). This processingwill be described in more detail, below.

For example, it is assumed that the image file storing the image databeing currently reproduced stores plural pieces of image data capturedin the continuous shooting mode, and the image data being currentlyreproduced is the second image data captured in the continuous shooting.In this case, the controller 150 determines whether or not thenewly-read image file stores image data having the feature of “thesecond image data in image data captured in the continuous shooting”.More specifically, the controller 150 recognizes the features ofrespective image data by referring to the sub-image-data information T13in the management table T10.

As the feature of images, EV value of an image may be used instead ofthe feature relating to the order of image data captured in continuousshooting. Namely, when an image file contains plural pieces of imagedata having different EV values, it is possible to use their EV valuesas feature of images and reproduce images having the same EV value bysuccessively changing over among these images, according to theoperation on the left or right key. Namely, it is possible to use anarbitrary feature, provided that it is a feature exhibited by imagedata.

If the controller 150 determines that the newly-read image file storesno image data having the same feature as that of the image data beingcurrently reproduced, the controller 150 reproduces the main image datastored in the new image file (S34). In this case, the display-image datacorresponding to the main image data can be reproduced, instead of themain image data.

If the newly-read image file stores image data having the same featureas that of the image data being currently reproduced, the controller 150reproduces this image data having the same feature (S35).

As described above, in the present embodiment, the controller 150controls the reproduction of image data, according to the result of thedetermination about the feature of the image data in the read imagefile. Namely, the controller 150 decides the image data to be reproducednext in the image data stored in the read new image file, according tothe result of the determination as to whether or not the read image filestores image data having the same feature. Thus, it is possible toextract images while focusing on the feature of images, when searchingfor image data stored in different image files. This facilitates searchfor images.

In the present embodiment, if the controller 150 determines that the newimage file stores image data having the same feature as that of theimage data being currently reproduced, the controller 150 decides thisimage data having the same feature as image data to be reproduced next.

With this arrangement, it is possible to perform frame-by-framereproduction of only image data having the same feature in plural piecesof image data stored in an image file. This reproduction method wouldenable the user to extract images focusing on images with the samefeatures, in searching for image data stored in different image files.This facilitates search for image data.

Further, in the present embodiment, when the right key 182 or the leftkey 184 is operated and if a newly-read image file stores image datahaving the same feature as that of the image data being currentlyreproduced, this image data is reproduced. However, it is notnecessarily required to employ this arrangement. It is also possible toalways reproduce main image data or the corresponding display imagedata, which is stored in the newly-read image file. With thisarrangement, the digital camera 101 performs the same operations everytime the right key 182 or the left key 184 is operated. This can preventthe user from being confused by reproduction operations with the digitalcamera 101.

With reference to FIG. 20, there will be described an example oftransition of reproduced images along with operations on the right key.It is assumed that the second original image data (the second image datacaptured through continuous shooting) in an image file F17 isreproduced, at first. In this state, if the right key 182 is pressed,the controller 150 searches an image file F18 after the image file F17for an original image F18 b having the same feature as that of theoriginal image data F17 b (the second image captured in continuousshooting), then sets the original image F18 b as an image to bereproduced and displays it. Then, if the right key 182 is pressed, thecontroller 150 searches the next image file F19 for an original imagehaving the same feature as that of the original image data F17 b.However, there is no original image having the same feature in the imagefile F19, and therefore the main image data F19 a stored in the imagefile F19 is set as a to-be-reproduced image and then is displayed.

1-3-5. Screen Display in Reproduction Operation

Next, with reference to FIG. 21, there will be described the screendisplay for reproducing a multiple image file with the digital camera101 according to the present embodiment.

When a multiple image file is reproduced, the LCD monitor 110 displays amode indicator 126, an UP indicator 127 and a DOWN indicator 128, inaddition to a captured image of an object, as illustrated in FIG. 21. Inthis case, the mode indicator 126 is an icon indicating the relationshipbetween the image data and other image data which are stored in themultiple image file being currently reproduced. For example, in FIG. 21,the mode indicator 126 indicates that the image data being currentlydisplayed is the third image data in the plural pieces of image datacaptured in continuous shooting which are stored in the same image file.

More specifically, the controller 150 reads a multiple image file to bereproduced, from the internal memory 109 or the memory card 108. Namely,the controller 150 reads all or some of the image files stored in astorage medium capable of storing one or more image files that can storeplural pieces of image data and also include(s) predeterminedrelationship information indicative of the relationship among the pluralpieces of image data. The controller 150 acquires sub-image-datainformation T13 in the management table T10 stored in the header partD23 of the read image file. Namely, the controller 150 acquiresrelationship information contained in the image file storing the imagedata to be reproduced. In reproducing the image file, the controller 150outputs the sub-image-data information T13 (the relationshipinformation) acquired on reproduction of the image file. Thus, the modeindicator 126 is displayed on the LCD monitor 110, along with the imagedata.

By displaying the mode indicator 126, the user can recognize that thereare images relating to the image data being currently displayed in thesame image file.

Further, the UP indicator 127 is an icon indicating that there is imagedata stored before the image data being currently reproduced in the sameimage file. The DOWN indicator 128 is an icon indicating that there isimage data stored after the image data being currently reproduced in thesame image file.

By displaying the UP indicator 127 and the DOWN indicator 128, the usercan recognize that there is other image data in the same image filebefore and after the image data being currently reproduced.

FIG. 21 shows that there are image data stored before and after theimage data being currently displayed. For example, when no image data isstored before the image data being currently displayed, the UP indicator127 is not displayed.

In the present embodiment, the UP indicator 127 and the DOWN indicator128 are icons indicating that there are image data stored before andafter the image data being currently reproduced, respectively, but theycan be interchanged. Further, the UP display and the DOWN display arenot required to have a triangular shape as the UP indicator 127 and theDOWN indicator 128 and to be placed at upper and lower positions,either. Namely, the UP display and the DOWN display can be any displaycapable of indicating the presence of image data before and after imagedata being currently reproduced, in the same file.

1-3-6. Optional Functions in Reproduction Operation

There will be described optional functions in reproduction operation ofimage data with the digital camera 101 according to the first embodimentof the present invention. The optional functions, particularly, rotationof image data being reproduced, change of the aspect ratio of imagedata, and settings for a slide show, will be described.

1-3-6-1. Rotation of Image Data

With reference to FIG. 22, FIG. 23 and FIG. 26, there will be describedrotation of image data, during operations for reproducing image datawith the digital camera 101 according to the first embodiment of thepresent invention. FIG. 22 is a view illustrating the back of thedigital camera 101 displaying, on the LCD monitor 110, a selection menufor the rotation of image data and an image of an object which has notbeen rotated yet. FIG. 23 is a view illustrating the back of the digitalcamera 101 displaying, on the LCD monitor 110, an image of the objectwhich has been rotated. FIG. 26 is a flow chart for rotating image databeing reproduced, according to the present embodiment.

The LCD monitor 110 can display the image data being reproduced, withthe image data rotated by a predetermined angle according to user'soperation. The user selects direction (rightward or leftward) and amountof the rotation of the image data being currently reproduced (S200). Forexample, the user selects one of options for rotating the displayedimage data, which include clockwise rotation by 90 degrees andcounterclockwise rotation by 90 degrees.

After the direction and the angle of the rotation of image data aredecided, the controller 150 applies image processing such as subsamplingprocessing and interpolation processing on the image data, such that therotated image data falls within the LCD monitor 110 (S201). Thecontroller 150 performs processing for rotating, by a predeterminedangle in a predetermined direction, the image data which has beensubjected to the image processing such as subsampling processing andinterpolation processing (S202). In this case, the rotation processingis pixel-position conversion processing for converting the horizontalpixel arrangement of the image data to a vertical pixel arrangement. Thecontroller 150 stores the rotated image data in the original image file(S203). The controller 150 stores information indicating that the imagedata has been rotated and information about the angle of the rotation inthe header corresponding to the rotated image data (S204).

Next, in the case where the image data which has not been rotated yet ismain image data or original image data, the controller 150 determineswhether or not there is the corresponding display-image datacorresponding thereto (S205). In the case where the image data which hasnot been rotated yet is display-image data, the controller 150determines whether or not there is the corresponding main image data ororiginal image data (S205).

If there is not such image data, the image file storing the createdimage data after rotation is recorded in the memory card 108 (S206).

If there is such image data, the controller 150 applies, to this imagedata, the same image processing such as subsampling processing andinterpolation processing as that applied to the main image data ororiginal image data or display-image data (S207). The controller 150applies rotation processing in a predetermined direction by apredetermined angle to the main image data or original image data, orthe display-image data, which has been subjected to the image processingsuch as subsampling processing and interpolation processing (S208). Thecontroller 150 stores, in the original image file, the main image dataor original image data, or the display-image data, which has beenrotated (S209). The controller 150 stores information indicating thatthe image data has been rotated and information about the angle ofrotation in the header corresponding to the rotated image data (S210).The controller 150 records, in the memory card 108, the image filestoring the created image data after rotation (S211).

Referring to FIG. 22, if clockwise rotation of the image data by 90degrees is selected, the LCD monitor 110 displays image data asillustrated in FIG. 23.

In the present embodiment, when rotation processing is applied to mainimage data or original image data, rotation processing is also appliedto the display-image data corresponding to the main image data or theoriginal image data to be subjected to the rotation processing andstored in the same image file.

With this arrangement, if rotation processing is applied to main imagedata or original image data, rotation processing is also applied to thedisplay-image data, along therewith. This prevents the occurrence of adifference in inclination (angle) between the main image data ororiginal image data and the display-image data. This enables the user toperform rotation processing on image data, without taking intoconsideration the type of image data (main image data, original imagedata or display-image data).

Further, in the present embodiment, when there are stored plural piecesof display-image data corresponding to main image data or original imagedata, if one piece of display-image data is rotated, the other pieces ofdisplay-image data are also subjected to rotation processing, alongtherewith. For example, it is assumed that there are provideddisplay-image data to be displayed on a television and display-imagedata to be displayed on the LCD monitor of the digital camera, asdisplay-image data for one piece of main image data or original imagedata. In this case, if the display-image data to be displayed on the LCDmonitor of the digital camera is rotated on the monitor of the digitalcamera, the display-image data to be displayed on a television is alsorotated.

With this arrangement, if one piece of display-image data is rotated,rotation processing can be also applied to the other pieces ofdisplay-image data along therewith. This can prevent the occurrence of adifference in inclination between predetermined display-image data andother display-image data. This enables the user to rotate image data,without taking into consideration the type of image data (display-imagedata for TV, display-image data for a monitor of the digital camera, andthe like).

Further, if the rotation of display-image data will increase the pixelcount of the display-image data after the rotation, the rotated displayimage data can be created based on main image data or original imagedata.

With this arrangement, it is possible to prevent the image quality ofimage data from being gradually degraded along with repeated rotationsof the image data.

1-3-6-2. Change of Aspect Ratio

With reference to FIG. 24, FIG. 25 and FIG. 27, there will be describedchanging of the aspect ratio, during operations for reproducing imagedata with the digital camera 101 according to the first embodiment ofthe present invention. FIG. 24 is a view illustrating the back of thedigital camera 101 displaying, on the LCD monitor 110, a selection menufor changing the aspect ratio of image data and an image of a subjectbefore change of aspect ratio. FIG. 25 is a view illustrating the backof the digital camera 101 displaying, on the LCD monitor 110, an imageof the subject after change of aspect ratio. FIG. 27 is a flow chart forchanging the aspect ratio during reproducing image data, according tothe present embodiment.

The LCD monitor 110 can display image data being reproduced, with thechanged aspect ratio of the image data, according to user's operations.The user selects an aspect ratio of image data to be changed, throughthe menu screen illustrated in FIG. 24 (S300). For example, the userselects one aspect ratio from 16:9, 4:3, and 3:2, as illustrated in FIG.24.

According to user's operations for changing the aspect ratio, theelectronic zoom processing unit 165 performs trimming on main imagedata, original image data, or display-image data (S301). Thus, theelectronic zoom processing unit 165 creates image data having the aspectratio required by the user. The controller 150 stores the image datahaving the changed aspect ratio in the original image file (S302). Inthis case, the controller 150 deletes the image data having thenot-changed aspect ratio, and instead thereof stores the image datahaving the changed aspect ratio. The controller 150 stores informationabout the aspect ratio of the image data after the change in the headercorresponding to the image data having the changed aspect ratio (S303).In this way the aspect ratio of image data can be changed. Thisarrangement realizes operation for reproducing image data according touser's preference and the aspect ratio of the display device.

Next, in the case where the image data having the changed aspect ratiois main image data or original image data, the controller 150 determineswhether or not there is display-image data corresponding thereto (S304).In the case where the image data having the changed aspect ratio isdisplay-image data, the controller 150 determines whether or not thereis other image data corresponding thereto (S304).

If there is no corresponding image data, the image file storing thecreated image data having the changed aspect ratio is recorded in thememory card 108 (S305).

If there is corresponding image data, the controller 150 applies, tothis image data, trimming processing for changing the aspect ratiothereof similarly to changing the aspect ratio of the main image data,original image data, or display-image data (S306). The controller 150stores, in the original image file, the corresponding image data whichhas been subjected to the trimming processing (S307). The controller 150stores information about the aspect ratio of the image data, in thesub-image header corresponding to the corresponding image data havingthe changed aspect ratio (S308). The controller 150 records the imagefile storing the created image data with the changed aspect ratio in thememory card 108 (S309).

By changing the aspect ratio of the display-image data along with changein the aspect ratio of main image data or original image data, it ispossible to prevent the occurrence of a difference in aspect ratiobetween the main image data or original image data and the display-imagedata. Namely, when the aspect ratio of the main image data or originalimage data is changed, the aspect ratio of the display-image is alwayschanged. This enables the user to change the aspect ratio of image datawithout taking into consideration the type of image data (main imagedata, original image data, or display-image data).

By employing an arrangement in which, when the aspect ratio of onedisplay-image data is changed, the aspect ratios of the otherdisplay-image data are changed along therewith, it is possible toprevent the occurrence of a difference in aspect ratio between the onedisplay-image data and the other display-image data. Namely, when theaspect ratio of one display-image data is changed, the aspect ratios ofthe other display-image data are also changed. This enables the user tochange the aspect ratio of image data without taking into considerationof the type of image data (for example, display-image data havingdifferent pixel counts).

In the present embodiment, when the aspect ratio of image data stored inan image file is changed, the image data having the aspect ratio beforechanging is deleted and the image data having the changed aspect ratiois stored. However, it is not necessarily required to employ thisarrangement. When the aspect ratio is changed, the image data having theaspect ratio before changing may remain and the image data having thechanged aspect ratio may be additionally stored. With this arrangement,image data having plural aspect ratios are stored in one image file. Asa result, after changing the aspect ratio, it is possible to facilitaterestoration of the image data having the aspect ratio before changing.

1-3-6-3. Setting of Slide Show

With reference to FIG. 28, there will be described a setting of a slideshow in the digital camera 101 according to the first embodiment of thepresent invention. FIG. 28 is a schematic view of an image file createdby capturing two image data in the continuous shooting mode, on which asetting of a common slide rendering is made for all pieces of image datain the image file. The term “slide show” refers to automaticreproduction of image data on the monitor. In reproduction, a renderingsuch as wipe can be also added as slide rendering. The method forcontrolling the slide show is similar to those in the prior art and thusit will not be described here. In the present embodiment, the user canset a slide rendering for image data in a slide show. If the user sets aslide rendering for predetermined image data, the controller 150 storesslide-rendering information in the header part corresponding to thepredetermined image data. The user sets the slide-rendering informationthrough a menu screen. On performing the slide show of the image data,the controller 150 realizes the slide rendering set by the user, byreferring to the slide-rendering information stored in the header part.For example, it is assumed that the header part corresponding to apredetermined image file stores slide-show information indicating thatfade-in is performed when displaying on the monitor the respective imagedata stored therein. In this situation, the controller 150 fades in therespective image data on the monitor by referring to the header part,when reproducing the image file.

This arrangement enables the user to set a specific slide rendering foreach image file.

Particularly, it is possible to collectively perform the same sliderendering on all pieces of image data which are stored in the same imagefile and closely linked to each other. For example, by storinginformation G42 indicating that high-speed fade-in and fade-out shouldbe performed, as slide-rendering information, in the header part G41 ofan image file storing two image data captured through continuousshooting, as illustrated in FIG. 28, it is possible to realizehigh-speed fade-in and fade-out for all pieces of the image data in thesame image file.

1-4. Editing

There will be described editing of image data with the digital camera101 according to the first embodiment of the present invention.

1-4-1. Deletion of Image Data

With reference to FIGS. 29 to 32, there will be described deletion ofimage data with the digital camera 101 according to the first embodimentof the present invention. FIG. 29 is a flow chart illustrating theoperation of the digital camera 101 when the user selects display-imagedata as data to be deleted, according to the present embodiment. FIG. 30is a flow chart illustrating the operation of the digital camera 101when the user selects main image data or original image data, as data tobe deleted, according to the present embodiment. FIG. 31 is a schematicview illustrating a multiple image file before and after the deletion ofsome of all pieces of image data from the multiple image file, accordingto the present embodiment.

In the present specification, deletion of image data can be made eithera method of physically deleting image data by completely erasinginformation about the image data to be deleted from a memory, or amethod of logically erasing the image data by releasing address of thememory at which information about the image data to be deleted is storedfor causing the image data to be overwritten.

Further, the storage medium can be the internal memory 109 incorporatedin the digital camera 101 or the memory card 108 which can be attachedand detached to and from the digital camera 101.

1-4-1-1. Control when Display-Image Data is Selected as Data to beDeleted

With reference to FIG. 29 and FIG. 31, there will be described operationof the digital camera 101 when the user selects display-image data asdata to be deleted.

The user can select image data to be deleted, by operating the cursorkey 180, when the digital camera 101 is set to the image-datareproduction mode (S400). Namely, the user can generate a command forselecting any of image data in an image file, by operating the cursorkey 180. In this case, if the image file stores display-image datahaving the same pixel count as that of the LCD monitor 110, the LCDmonitor 110 displays the display-image data. Accordingly, in this case,the user selects display-image data as image data to be deleted.Hereinafter, there will be described a case where display-image data isselected as image data to be deleted.

If image data to be deleted is selected, the controller 150 is onstandby until the deletion button 186 is pressed (S401). When thedeletion button 186 is pressed, the controller 150 deletes thedisplay-image data selected by the user (S402). Namely, the controller150 deletes image data in an image file stored in a storage medium asimage data storing one or more image files capable of storing main imagedata, one or more pieces of original image data and one or more piecesof display-image data. More specifically, the controller 150 accessesthe internal memory 109 or the memory card 108 and deletes informationabout the selected display-image data, from the management tablecontained in the image file storing the selected display-image data.

Further, the controller 150 also deletes the main image data or theoriginal image data which is the basis of the deleted display-image data(S403). In the present embodiment, the main header part of an image filestores information which associates main image data or original imagedata with the display-image data created from the main image data or theoriginal image data. By referring to this information, the controller150 can easily search for and delete the main image data or the originalimage data which is the basis of the selected display-image data.Namely, the main image data is stored in an image file together with oneor more pieces of display-image data created based on the main imagedata, while associating the main image data with the display-image data.Further, the original image data is stored in an image file togetherwith one or more pieces of display-image data created based on theoriginal image data, while associating the original image data with thedisplay-image data. Accordingly, the controller 150 can delete the imagedata which is instructed or selected to be deleted by the user pressingthe deletion button 186, and the image data corresponding to theinstructed image data. More specifically, the controller 150 deletesinformation about the main image data or original image data which isthe basis of the deleted display-image data, from the management table.

After deleting the main image data or original image data which is thebasis of the deleted display-image data, the controller 150 determineswhether or not there is other display-image data created based on themain image data or original image data (S404).

If the controller 150 determines that there is no other display-imagedata, the controller 150 restructures the FAT, logically reconfiguresthe image file, and subsequently is on standby until the user pressesthe deletion button 186.

If the controller 150 determines that there is the other display-imagedata, the controller 150 deletes all pieces of display-image datacreated based on the main image data or original image data (S405).Namely, when the deletion button 186 is pressed and the controller 150receives the instruction for selecting image data by the user, thecontroller deletes the image data indicated by the instruction, and thecorresponding image data to the image data indicated by the instruction.More specifically, the controller 150 deletes information about allother display-image data corresponding to the display-image dataindicated by the received user's instruction for selecting, from themanagement table.

After deleting the other display-image data, the controller 150restructures the FAT, logically reconfigures the image file, andsubsequently is on standby until the user presses the deletion button186.

For example, it is considered that an HDTV thumbnail G24 which isdisplay-image data is deleted from a multiple image file F40, asillustrated in FIG. 31. When the HDTV thumbnail G24 is deleted from themultiple image file F40, the sub-image data G23 captured in thecontinuous shooting which is the basis of the HDTV thumbnail G24 and aVGA thumbnail G25 which is another display-image data created based onthe sub-image data G23 captured in the continuous shooting are deletedalong with the deletion of the HDTV thumbnail G24. Thus, the structureof the image file is changed from the multiple image file F40 to amultiple image file F70.

In the present embodiment, when deletion of display-image data isselected, the main image data or original image data which is the basisof the display-image data is also deleted together with the selecteddisplay-image data. This can avoid a situation in which, even though theuser has selected the image data to be deleted on a LCD monitor or a TVmonitor and supposes that the main image data or original image data hasbeen deleted, only display-image data is actually deleted but the mainimage data or original image data is not deleted actually.

This enables the user to delete the image data without taking intoconsideration whether the image data being currently selected as imagedata to be deleted is main image data, original image data, ordisplay-image data.

1-4-1-2. Control when Main Image Data or Original Image Data is Selectedas Data to be Deleted

With reference to FIG. 30 and FIG. 31, there will be described operationof the digital camera 101 when the user selects main image data ororiginal image data as data to be deleted.

During the image-data reproduction mode of the digital camera 101 withthe image data displayed on the LCD monitor 110, the user can selectimage data to be deleted by operating the cursor key 180 (S410). Namely,by operating the cursor key 180, the user can instruct the digitalcamera to select any of the image data in an image file stored in astorage medium which stores one or more image files capable of storing,as image data, main image data, one or more pieces of original imagedata, and one or more pieces of display-image data. In this case, whenthe image file stores no display-image data having a pixel countmatching that of the LCD monitor 110, the LCD monitor 110 displaysdisplay-image data which has been created from the main image data orthe original image data so as to have a pixel count matching that of theLCD monitor 110. Accordingly, in this case, the user selects the maimimage data or the original image data as image data to be deleted.Hereinafter, there will be described a case where main image data ororiginal image data is selected as image data to be deleted.

If image data to be deleted is selected, the controller 150 is onstandby until the deletion button 186 is pressed (S411). If the deletionbutton 186 is pressed, the controller 150 deletes the main image data ororiginal image data selected by the user (S412). Namely, the controller150 deletes image data in an image file. More specifically, thecontroller 150 accesses the internal memory 109 or the memory card 108and deletes information about the selected main image data or originalimage data, from the management table contained in the image filestoring the selected main image data or original image data.

After deleting the main image data or original image data, thecontroller 150 determines whether or not display-image data createdbased on the main image data or original image data is stored in theimage file which stores the main image data or original image data(S413).

If the controller 150 determines that the display-image data is notstored, the controller 150 restructures the FAT, logically reconfiguresthe image file, and subsequently is on standby until the deletion button186 is pressed by the user.

On the other hand, if the controller 150 determines that the displayimage is stored, the controller 150 deletes all pieces of thedisplay-image data created based on the deleted main image data ororiginal image data (S414). In the present embodiment, the main headerpart of an image file stores information which associates main imagedata or original image data with the display-image data created from themain image data or original image data. By referring to the information,the controller 150 can easily search for and delete the display-imagedata created based on the selected main image data or original imagedata. Namely, main image data and one or more pieces of display-imagedata created based on the main image data are stored in an image file,while associating the main image data and the display image data.Further, original image data and one or more pieces of display-imagedata created based on the original image data are stored in an imagefile, while associating the original image data and the display imagedata. Accordingly, the controller 150 can delete the image datainstructed or selected to be deleted by the user pressing the deletionbutton 186 and the image data corresponding to the instructed imagedata. More specifically, the controller 150 deletes the informationabout all pieces of the display-image data created based on the deletedmain image data or original image data, from the management tablecontained in the image file which stored the deleted main image data ororiginal image data.

After deleting the display-image data, the controller 150 restructuresthe FAT, logically reconfigures the image file, and subsequently is onstandby until the deletion button 186 is pressed by the user.

It will be considered, for example, that the sub-image data G23 capturedin continuous shooting, as original image, is deleted from the multipleimage file G40 illustrated in FIG. 31. When the sub-image data G23captured in continuous shooting is deleted from the multiple image fileF40, the HDTV thumbnail G24 and the VGA thumbnail G22 which aredisplay-image data created based on the sub-image data G23 captured incontinuous shooting are deleted therefrom, along with the deletion ofthe sub-image data G23. Accordingly, the structure of the image file ischanged from the multiple image file F40 to the multiple image file F70.

In the present embodiment, when deletion of main image data or originalimage data is selected, the display-image data created based on the mainimage data or original image data is also deleted along with thedeletion of the selected main image data or original image data. Thiscan avoid situation in which, even though there is no main image data ororiginal image data, the display-image data corresponding theretoremains.

Accordingly, the user can delete image data without taking intoconsideration whether the image data being currently selected as imagedata to be deleted is main image data or original image data ordisplay-image data.

1-4-2. Splitting of Image Data

With reference to FIG. 34 and FIG. 35, there will be described splittingof image data with the digital camera 101 according to the firstembodiment of the present invention. FIG. 34 is a view illustrating theback of the digital camera 101 displaying on the LCD monitor 110 aselection menu for splitting image data and an image of a subject. FIG.35 is a flow chart for splitting image data according to the presentembodiment. In this case, splitting of image file refers to processingfor extracting one or more pieces of image data from an image fileincluding plural pieces of image data to create a different file.

The user can select image data to be split from data stored in an imagefile by operating the cursor key 180 during the reproduction mode of thedigital camera 101 (S500). The controller 150 is on standby until acommand for splitting is selected through the menu for splittingillustrated in FIG. 34 (S501). When the command for splitting isselected, the controller 150 copies the image data in the image file,selected as image data to be split (S502). In this case, when the imagedata selected as image data to be split is sub-image data, thecontroller 150 copies the sub-image data part to create a new file. Whenthe selected image data is main image data, the controller 150 copiesthe main image data part and the header to create a new file. Thecontroller 150 stores the created image file in the memory card 108 orthe internal memory 109. The controller 150 deletes information aboutthe selected image data, from the management table (S503).

The controller 150 determines whether or not there is main image data,original image data, or display-image data which corresponds to thedeleted image data (S504).

If there is no corresponding image data, the controller 150 restructuresthe FAT and logically reconfigures the image file from which the imagedata has been split (S505). After the completion of restructuring theimage file, the LCD monitor 110 reproduces the split image data (S506).In the present embodiment, after completion of splitting processing, thesplit image data is reproduced. However, it is not necessarily requiredto employ this arrangement. After completion of splitting, any of theimage data stored in the image file from which the image data has beensplit may be reproduced.

If there is the corresponding image data, the controller 150 deletesinformation about the corresponding image data from the management table(S507).

Thereafter, the controller 150 restructures the FAT and logicallyreconfigures the image file from which the image data has been split.After the completion of the reconfiguration of the image file, the LCDmonitor 110 reproduces the split image data (S509).

As described above, in the present embodiment, when a part of all piecesof image data is split from a multiple image file, the image data to besplit and the other image data corresponding to the image data to besplit are deleted from the multiple image file. This can avoid theoccurrence of a situation that, when a part of all pieces of main imagedata or original image data has been split, the display image datacorresponding thereto remains within the multiple image file.

In the present embodiment, when a part of all pieces of image data issplit from an image file, the image data corresponding to the image datato be split is deleted from the image file from which the image data issplit. However, it is not necessarily required to employ thisarrangement. The image data corresponding to the image data to be splitmay be also split and they may be combined to create a new image file.As described above, it may be possible to split the image datacorresponding to the image data to be split together with the image datato be split. Accordingly, when main image data or original image data tobe split has display-image data corresponding thereto, the image fileafter split has the main image data or original image data, and thedisplay-image data corresponding to the main image data or originalimage data. Thus it does not need to create display-image datacorresponding to the split main image data or original image data, afterprocessing for splitting the image data.

When an image file splits as described above, the controller 150 storesinformation about the relationship between the image file newly createdby the splitting and the image file from which the image file was split,in the main header of the image file from which the image file has beensplit. Further, the controller 150 stores information about therelationship between the image file newly created by the splitting andthe image file from which the image file has been split, in the mainheader of the image file newly created by the splitting. Accordingly,the controller 150 can recognize the relationship between the image filenewly created by the splitting and the image file from which the imagefile has been split, by referring to the respective main headers. Thispermits processing which has relation between the image file from whichthe image file has been split and the split image file, such asframe-by-frame reproduction of the image file from which the image filehas been split and the split image file.

Also, only image files relating to original image data in sub-image datamay be split. This causes all pieces of main image data to be basicallycomposed of original image data, thereby facilitating handling of imagefiles.

Also, a file name of an image file newly created by splitting may beprovide by adding an additional identifier (a symbol, a characterstring, or the like) to the portion other than extension of the filename of the image file from which the image file has been split. Byhaving file names with a common part as described above, it is possibleto clarify the relationship between the split image file and the imagefile from which the image file has been split. Accordingly, for example,in reproduction of image data, it is possible to perform frame-by-framereproduction of the split image data, following the image data fromwhich the image data has been split.

1-4-3. Resizing

With reference to FIG. 36 and FIG. 37, there will be describedprocessing for resizing image data with the digital camera 101 accordingto the first embodiment of the present invention. FIG. 36 is a flowchart of processing for resizing image data according to the presentembodiment. FIG. 37 is a rear view of the digital camera 101 displayinga selection menu for resizing image data on the LCD monitor 110.Resizing of image data refers to changing the pixel count of the imagedata.

The user can select image data to be resized by operating the cursor key180 during the reproduction mode of the digital camera 101 (S600). Thecontroller 150 is on standby until a command for resizing is selectedthrough the menu for resizing illustrated in FIG. 37 (S601). If acommand for resizing is selected, the controller 150 stores the imagedata before being resized, as sub-image data, in the same image file(S603). In this case, the image data before resized is stored after thedisplay-image data corresponding to the respective image data beforeresized. At the same time, the controller 150 stores informationindicating that the image data before resized is stored as sub-imagedata, in the main header part of the image file storing the image databefore resized as sub-image data (S602). Next, the controller 150applies resizing processing to the selected image data (S603). Theresizing processing is performed by the electronic zoom processing unit165 applying enlarging processing or reducing processing to the imagedata to be resized.

The controller 150 determines whether or not there is main image data ororiginal image data other than the resized image data, in the image filestoring the resized image data (S604).

If there is no other main image data or original image data, the LCDmonitor 110 reproduces the resized image data (S605).

If there is other main image data or original image data, the controller150 stores, in the same image file, the other main image data ororiginal image data before resized, as sub-image data (S606). In thiscase, the image data before resized is stored after the display-imagedata corresponding to the respective image data before resized. Further,in this case, the controller 150 stores information indicating that theimage data before resized is stored as sub-image data, in the mainheader part of the image file storing the image data before resized assub-image data. Next, the controller 150 applies the same resizingprocessing to the main image data or original image data (S607). Afterthe same resizing processing is applied to the main image data and allpieces of the original image data stored in the same image file, the LCDmonitor 110 reproduces the resized image data (S605).

In the present embodiment, along with resizing of main image data ororiginal image data, other main image data and original image data inthe same image file are also resized. Accordingly, it is possible tocollectively resize image data stored in the same image file and closelyrelated to each other. In many cases, the same resizing processing isapplied to image data closely related to each other. Accordingly, it ispossible to collectively perform the same resizing processing on imagedata in the same image file, thereby improving the usability of theresizing function.

Further, in the present embodiment, the image data before resizedremains in the same image file, as sub-image data. Accordingly, evenafter resizing, the image data can be restored to the state before theresizing.

Further, in the present embodiment, the image data before resized isstored after the display-image data corresponding to the respectiveimage data before resized. This facilitates search for the image databefore resized, when restoring the image data to the image data beforebeing resized.

Further, in the present embodiment, information indicating that theimage data before resized is stored in the main header part of the imagefile. This enables the controller 150 to recognize the presence orabsence of image data before resized, only by referring to the mainheader part of the image file, when changing the resized image data tothe image data before resized. As a result, the digital camera 101according to the present embodiment can easily restore the resized imagedata to image data before resized.

1-5. Printing

There will be described printing of image data with the digital camera101 according to the first embodiment of the present invention.Hereinafter, particularly, there will be described the compatibilitywith PictBridge, and processing which is performed when a DPOF settingis made on image data.

1-5-1. Compatibility with PictBridge

With reference to FIGS. 38 to 40, there will be described thecompatibility of the digital camera 101 according to the presentembodiment with PictBridge. FIG. 38 is a flow chart for printing withthe digital camera 101 according to the present embodiment connected toa printer conforming to the PictBridge standard. FIG. 39 is a schematicview of a management table for managing IDs associated with image datastored in the memory card 108. FIG. 40 is a schematic view illustratingan example with three image files stored in the memory card 108.

“PictBridge” is a standard for easily realizing digital printing byconnecting a digital camera directly to a printer. Direct connection ofa digital camera and a printer which conform to the PictBridge standardallows image data stored in the digital camera to be printed with theprinter.

When the user connects the digital camera 101 to a printer through acommunication unit enabling communication with an external device suchas a USB cable or a wireless LAN, it is possible to realize PictBridgeconnection between the digital camera 101 and the printer.

Upon recognition of the connection between the digital camera 101 and aprinter (S700), the controller 150 acquires predetermined informationabout all pieces of the image data in all the image files stored in thememory card 108 or/and the internal memory 109. Then, the controller 150adds different IDs (identification information) to all pieces of theimage data based on the acquired information (S701). Namely, when thecontroller 150 recognizes that the digital camera 101 has been connectedto the printer via the communication unit 111, the controller 150associates IDs with the respective image data. The controller 150acquires, as predetermined information, information indicating whatimage files are stored in the memory card 108 or the internal memory 109and what image data are stored in the respective image files.

However, it is not necessary to acquire predetermined information aboutall the image files stored in the recording medium such as the memorycard 108, but it is possible to acquire predetermined information aboutonly some of the image files stored in the recording medium. Further, itis not necessary to add IDs (identification information) to all piecesof the image data, and but it is possible to add IDs to only some imagedata as long as at least some image data which are added IDs containmain image data. Also, these some image data may further contain imagedata (original image data) having an image size equal to that of themain image data in addition to main image data.

Namely, the controller 150 acquires predetermined information about atleast some of the image files stored in a storage medium capable ofstoring the multiple image file. After acquiring the predeterminedinformation, the controller 150 associates different IDs with the imagedata included in these image files and creates a management table formanaging them. Namely, based on the acquired information about the imagefiles, the controller 150 associates respective different IDs with atleast some of the image data stored in the image files and creates amanagement table for managing them. The controller 150 stores thismanagement table in the internal memory 109 or the like. It ispreferable to utilize the management table T10 in the main header, whencreating IDs. This is because, by doing this, it is possible to createIDs using the information about the relationship (the order of storage,and the like) among the image data stored in the image file. Byassociating IDs with all pieces of the image data as described above, itis possible to virtually handle the respective image data as differentimage files, according to the PictBridge standard.

For example, it is assumed that the memory card 108 stores three imagefiles as illustrated in FIG. 40. In the memory card 108, it is possibleto associate the respective image files with file identification codeswhich are uniquely determined for the respective image files in order todifferentiate the respective image files. Identifying name of an imagefile and name of the folder storing the image file allows the image fileto be uniquely identified.

For example, identifying a folder name and a file name which conform tothe DCF (Design rule for Camera File system) standard allows an imagefile to be uniquely identified. According to the DCF standard, a foldername includes a number in the range of 100 to 999 at its former threedigits, and also includes a character string which is uniquely assignedto each camera manufacturer, at its later four digits. Further, a filename includes a character string uniquely assigned to each cameramanufacturer at its former four digits, and also includes a number inthe range of 0001 to 9999 at its latter four digits. Accordingly, byemploying the former three digits of a folder name and the latter fourdigits of a file name, it is possible to uniquely identify an imagefile.

For example, it is assumed that a multiple image file F10 and a multipleimage file F20 are stored in a folder with a folder name of “100-PANA”.Further, it is assumed that a multiple image file F30 is stored in afolder with a folder name of “101-PANA”. Further, it is assumed that themultiple image file F10 has a file name of “P1000001.jpg”, the multipleimage file F20 has a file name of “P1000002.jpg”, and the multiple imagefile F30 has a file name of “P1000001.jpg”. In this case, the formerthree digits of a folder name and the latter four digits of a file nameare combined and, thus, the multiple image file F10 is associated with afile identification code of “100-0001”, the multiple image file F20 isassociated with a file identification code of “100-0002”, and themultiple image file F30 is associated with a file identification code of“101-0001”. Hence, though the file F10 and the file F30 have the samefile name, the file F10, the file F20 and the file F30 can bedistinguished, respectively.

Further, IDs are added to respective image data in order to uniquelyidentify the image data. In this case, the IDs are created, such thateach ID includes the file identification code added to the image filestoring the image file to be added the ID and a data identification codefor identifying the image data within the image file. In this manner, IDwhich can uniquely identify image data can be created. For example, whenIDS are associated with all pieces of the image data stored in threeimage files illustrated in FIG. 40, a table illustrated in FIG. 39 iscreated. In this case, main image data F12, display sub-image data F13,sub-image data F14 captured by continuous shooting, and displaysub-image data F15 captured by continuous shooting, which are stored inthe multiple image file F10 are associated with IDS of “100-0001-0”,“100-0001-1”, “100-0001-2” and “100-0001-3”, respectively. Thus, it ispossible to create IDs which can uniquely identify the respective imagedata. This enables the digital camera 101 to store the created table inthe internal memory 109 and to control printing of image data using IDs,with reference to the table.

After associating ID with the image data, the controller 150 is onstandby until the user selects image data to be printed (S702). Namely,the controller 150 is on standby, until it receives a selection of atleast some image data out of the image data associated with the IDs.When image data is selected, the communication unit 111 transmits the IDassociated with the selected image data to the printer (S703). Namely,the controller 150 transmits the ID associated with the selected imagedata to the printer through the communication unit 111.

After the transmission of the ID, the printer sends to the digitalcamera 101 a request for transmitting information about the image dataassociated with the transmitted ID (S704).

Upon receiving the request for transmitting information about the imagedata, the digital camera 101 transmits information about the image data(for example, data size of the image data, compression/non-compressionof thumbnail image data, data size of thumbnail image data, and thelike) (S705).

Upon receiving the information about the image data, the printer sends arequest for transmitting the image data associated with the received ID(S706).

Upon receiving the request for transmitting the image data, the digitalcamera 101 transmits the image data to the printer (S707). Namely, thedigital camera 101 transmits the image data through the communicationunit 111 in response to the request from the printer based on the IDwhich is transmitted to the printer. In this case, the digital camera101 can transmit image data which has been compressed according to JPEGor the like. Thus, the digital camera 101 can transmit the image data ata relatively higher speed. However, it is not necessarily required toemploy this arrangement. For example, the digital camera 101 candecompress image data compressed according to JPEG or the like, and thentransmit the decompressed image data.

Upon receiving the image data, the printer starts printing of thereceived image data (S708).

There will be described the reason why in the present embodiment IDs areadded to the respective image data stored in image files as describedabove. If IDs are added to only image files while no IDs are added torespective image data, then when image data to be printed is specified,it is necessary to specify, in unit of image file, image data to beprinted. Therefore, in cases where an image file contains plural piecesof image data and a part of them are desired to be printed, it isnecessary to create an image file containing only the image data desiredto be printed. Then, it is necessary to add an ID to this image file. Asdescribed above, in case where IDs are added to image files in only unitof image file, it is necessary to extract the image data desired to beprinted from the image file by splitting or copying, and to create a newimage file therefrom. In case where image data is extracted bysplitting, the problem is induced in that the structure of the imagefile storing the image data desired to be printed is varied. Further, incase where image data is extracted by copying, the problem is induced inthat a memory space is consumed. On the contrary, addition of IDs toimage data makes it possible to specify each image data, therebyeliminating the necessity of additionally creating an image filecontaining image data to be printed. Therefore, in the presentembodiment, IDs are added to respective image data stored in imagefiles.

Further, in the present embodiment, IDs are associated with all piecesof the image data in all the image files stored in the memory card 108and/or the internal memory 109. This enables selection of image data tobe transmitted to the printer from all pieces of the image data in allthe image files stored in the storage medium.

Further, in the present embodiment, upon recognizing that the digitalcamera 101 is connected to the printer, the controller 150 associatesIDs with all pieces of the image data stored in all the image files.With this arrangement, IDs are already associated with all the imagedata, when the user selects image data to be printed. Therefore when theuser selects an image to be printed, the ID thereof can be immediatelytransmitted to the printer.

Further, in the present embodiment, an ID is constituted by a fileidentification code for identifying an image file in the memory card 108or the internal memory 109 and a data identification code foridentifying an image data in the image file, and the ID is managed bythe ID management table.

However, in the present embodiment, an ID is formed from a fileidentification code constituted by a part of a folder name and a part ofa file name, and a data identification code provided according to theorder of storage in the image file. In this case, information about thefolder name, the image file name and the storage order of the image datato be printed in the image file can be naturally recognized from themanagement information in the file in the memory card, without managingsuch information particularly for PictBridge. Accordingly, the IDs ofrespective image data can be uniquely determined. Accordingly, it ispossible to be compatible with the PictBridge standard withoutparticularly providing an ID management table. An ID management table iseffective for adding specific IDs to respective image data forPictBridge.

Further, in the present embodiment, IDs are associated with all piecesof the image data in all the image files stored in the memory card 108and/or the internal memory 109. However it is not necessarily requiredto associate IDs with all pieces of the image data in all the imagefiles. IDs may be associated with some of all pieces of the image datain some of all the image files. Accordingly, it is not necessary toprovide a management table that manages IDs for all pieces of image datain all image files, but is enough to provide a management table thatmanages IDs for some of all pieces of image data in some of all imagefiles thereby saving memory space. Further, addition of IDs to some ofthe image data in image files can reduce burden on the user forsearching.

For example, ID may be assigned to only main image data and originalimage data, while ID may not be assigned to display-image data. Thisarrangement enables the user to easily search for image data to beprinted, since image data having the same content but having differentresolutions are excluded from candidates for selection.

Further, in case where there are plural pieces of display-image datacorresponding to one original image data, ID may be associated with onlythe original image data and the display-image data having the highestresolution among the plural pieces of display-image data. With thisarrangement, it is possible to prevent plural pieces of image datahaving the same content but having different resolutions from beingcandidates for selection. Further, it is possible to cope with a widevariety of printing specifications by keeping display-images havinghigher resolutions. This is because it is easy to create a display-imagehaving a lower resolution from a display-image having a higherresolution.

Further, in the present embodiment, after recognizing PictBridgeconnection, the controller 150 associates ID with image data in imagefiles stored in the memory card 108 or/and the internal memory 109.However, it is not necessarily required to associate IDs at this timing.The ID may be associated when image data is created or when the userselects the printing mode of the digital camera 101.

1-5-2. Processing when DPOF Setting is Made

DPOF (Digital Print Order Format) is a format which enables a user of adigital camera to specify information, for example, information aboutwhich image files in all image files stored in a storage medium such asa memory card should be printed. When making a DPOF setting on an imagefile stored in a storage medium, information about a number of copies, asheet size, a title and the like can be associated at the same time withthe image file on which the DPOF setting is made.

With reference to FIG. 41, there will be described processing which isperformed when a DPOF setting is made on image data to be printed, withthe digital camera 101 according to the present embodiment. FIG. 41 is aflow chart of processing which is performed when a DPOF setting is madeon image data, according to the present embodiment. When a DPOF settingis made on an image file, a text file (DPOF file) including deviceinformation about the digital camera, information about the number ofimages to be printed and the like is created. The text file is stored ina memory card storing the image file on which the DPOF setting has beenmade. The printer can print the image file according to the setting madeby the user, by referring to the DPOF file stored in the memory card.

When the memory card 108 storing plural multiple image files is insertedin the digital camera 101, the user can operate the cursor key 180 inthe digital camera 101 to select image data to which a DPOF setting isto be made.

When image data to which a DPOF setting is to be made is selected(S900), the controller 150 determines whether or not the selected imagedata is main image data (S901).

If the selected image data is main image data, the controller 150 makesa DPOF setting on the image file storing the selected main image data.More specifically, the controller 150 describes, in the DPOF file,information about a number of prints, a print size for print and thelike, in association with name of the image file on which the DOPFsetting is made. Further, the information about the number of prints,the print size and the like is inputted by the user, as required.

If the selected image data is not main image data, the controller 150copies the selected image data (namely, sub-image data). The copying ofthe image data is performed with a conventional technique. Thecontroller 150 creates an image file containing the sub-image dataresulting from the copying, as main image data (S903). The created imagefile is stored in the memory card 108 or the internal memory 109. Thecontroller 150 makes a DPOF setting on the created image file (S904).Namely, the controller 150 edits the DPOF file to describe thereininformation about number of prints, print size, and the like, inassociation with the file name of the created new image file. Thus, theDPOF file containing the description of various types of informationabout the selected image file is stored in the memory card 108.

As described above, in the present embodiment, when making a DPOFsetting on sub-image data stored in a multiple image file, the sub-imagedata is copied, a new image file is created therefrom, and then a DPOFsetting is made on the new image file. Hereinafter, there will bedescribed the reason why this arrangement is employed.

According to the conventional DPOF standard, an image to be printed isdesignated by identifying the file name. If the conventional DPOFstandard is applied to a multiple image file capable of storing mainimage data and sub-image data, only the main image data stored in themultiple image file is recognized as image data to be printed, but thesub-image data is not recognized as image data to be printed. In orderto overcome this problem, in the present embodiment, when making a DPOFsetting on sub-image data stored in a multiple image file storing pluralpieces of image data, the sub-image data is copied, and a new image filewith the copied image data stored as a main image is created. The mainimage in the new image file is recognized as image data to be printed.Accordingly, with the aforementioned arrangement, it is possible toutilize the conventional DPOF standard, even in the case of employingformats of image files containing plural pieces of image data.

As described above, the digital camera 101 according to the presentembodiment copies the sub-image data, when making a DPOF setting onsub-image data stored in a multiple image file. Unlike the splitting,the copying does not involve deletion of the sub-image data from theoriginal multiple image file. Accordingly, it is possible to make a DPOFsetting on sub-image data, without changing the structure of theoriginal multiple image file, thereby maintaining the usability for theuser.

Also, it is possible to split sub-image data on which a DPOF setting ismade, to create a new image file from it, and to make a DPOF setting onthe new image file. In this case, although the structure of the originalmultiple image file is changed, but it is possible to avoid the problemof consumption of the memory due to increase of the number of imagefiles every time a DPOF setting is made. Further, when main image datais selected, it is possible to extract the main image data to create anew image file.

The digital camera 101 according to the present embodiment receives aselection of at least one image data from all pieces of image datastored in an image file capable of storing main image data and one ormore pieces of sub-image data. When the selected image data is sub-imagedata, the digital camera 101 creates a new image file containing theselected sub-image data as main image data. Further, the digital camera101 creates a print management file which contains image-fileidentification information for identifying the image file from which themain image data has been selected and/or the newly-created image file,and printing-method specification information indicating a method forprinting images contained in the image files.

1-6. Transmission

With reference to FIGS. 42 to 46, there will be described operations fortransmitting an image file or image data with the digital camera 101according to the first embodiment of the present invention. With thedigital camera 101 according to the present embodiment, image data or animage file to be transmitted can be selected. The digital camera 101according to the present embodiment can transmit image data or/and imagefiles to an apparatus capable of receiving image data or/and imagefiles. The method for transmitting image files and image data is similarto those in the prior art and will not be described.

1-6-1. Flow Chart of Transmission of Image Data

FIG. 42 is a flow chart for transmission of image data with the digitalcamera 101 according to the present embodiment. The digital camera 101according to the present embodiment can transmit some of all pieces ofimage data stored in a multiple image file. The user selects image datato be transmitted by operating the cursor key 180 in the digital camera101 (S1000).

When image data is selected, the controller 150 determines whether ornot the selected image data is stored in a multiple image file (S1001).

If the controller 150 determines that the selected image data is notstored in a multiple image file, the communication unit 111 transmitsthe image file storing the selected image data (S1002).

If the controller 150 determines that the selected image data is storedin a multiple image file, the controller 150 splits (extracts) theselected image data from the multiple image file to create a new imagefile therefrom (S1003). The controller 150 transmits the created newimage file (S1004). In this case, the split image data and the datarelating thereto are deleted from the multiple image file.

With this arrangement, even when plural pieces of image data are storedin one image file, image data contained in the one image file can betransmitted in units of image data.

Further, in the present embodiment, when the selected image data isstored in a multiple image file, the selected image data is split fromthe multiple image file and the split image data is transmitted.However, it is not necessarily required to split the selected imagedata. The selected image data may be copied and the image data resultingfrom the copying may be transmitted. Alternatively, only informationabout the selected image data in the image file storing the selectedimage data may be transmitted. With this arrangement, it is possible totransmit the selected image data, without changing the contents of theimage file storing the selected image data.

In the present embodiment, all pieces of the image data stored in imagefiles can be selected as image data to be transmitted. However, it isnot necessarily required to employ this arrangement. Only main imagedata and/or original image data in image data stored in the image filemay be able to be selected as image data to be transmitted. With thisarrangement, it is possible to present well-selected image data to theuser, as image data to be selected.

1-6-2. Flow Chart of Transmission of Image File

FIG. 43 is a flow chart for transmitting an image file with the digitalcamera 101 according to the present embodiment. FIG. 44 is a rear viewof the digital camera 101 displaying, on the LCD monitor 110, anindication which prompts the user to select image data to be transmittedfrom image files storing plural pieces of image data. With the digitalcamera 101 according to the present embodiment, it is possible to selectan image file as well as image data, as information about an image to betransmitted.

The user selects an image file to be transmitted by operating the cursorkey 180 during the reproduction mode of the digital camera 101 (S1100).When an image file is selected, the controller 150 determines whether ornot the destination device to which the image file is transmitted isadapted to a multiple image file (S1101). In this case, “the destinationis adapted to a multiple image file” means that the destination devicecan recognize the received multiple image file, as a multiple imagefile. For example, the controller 150 in the digital camera 101acquires, through the communication unit 111, version information andthe like of an external apparatus which is the destination device todetermine whether or not the external apparatus is adapted to a multipleimage file.

If the controller 150 determines that it is adapted to a multiple imagefile, the controller 150 transmits the selected image file (S1102).

If the controller 150 determines that it is not adapted to a multipleimage file, the controller 150 determines whether or not the selectedimage file is a multiple image file (S1103).

If the controller 150 determines that the selected image file is not amultiple image file, the controller 150 transmits the selected imagefile (S1104).

If the controller 150 determines that the selected image file is amultiple image file, the LCD monitor 110 displays an indication whichprompts the user to select image data to be transmitted (S1105). Forexample, an indication for a transmitted data selection 200 illustratedin FIG. 44 is displayed on the LCD monitor 110. Then, the controller 150is on standby until the user selects image data (S1106). If image datais selected, the controller 150 splits the selected image data from themultiple image file to create a new image file (S1107). After creatingthe new image file, the controller 150 transmits the created image file(S1108).

By changing the transmitted image file according to whether or not thedestination device is adapted to a multiple image file, the user cantransmit an image file without taking into consideration the image fileformat to which the destination device is adapted.

Further, when the destination device is not adapted to a multiple imagefile, the user is prompted to select the transmitted image data. Thisallows the digital camera 101 according to the present embodiment totransmit image data which the user really wants to transmit.

In the present embodiment, when the selected image data is stored in amultiple image file, the selected image data is split therefrom totransmit the split image data. However, it is not necessarily requiredto split the selected image data. The selected image data may be copiedand an image file created based on the image data resulting from thecopying may be transmitted. Alternatively, only information relating tothe selected image data in the image file storing the selected imagedata may be transmitted. With this arrangement, it is possible totransmit the selected image data without changing the contents of theimage file storing the selected image data.

Further, in the present embodiment, after determining whether or not thedestination device is adapted to a multiple image file, it is determinedwhether or not the image file selected by the user is a multiple imagefile. However, it is not necessary to perform these determinations inthe mentioned order. It may be determined whether or not the destinationdevice is adapted to a multiple image file, after determining whether ornot the image file selected by the user is a multiple image file.

1-6-3. Automatic Selection of Image Data to be Transmitted

FIG. 45 is a flow chart of processing for automatically selecting imagedata to be transmitted, according to the ability of the destinationdevice, with the digital camera 101 according to the present embodiment.The user selects image data to be transmitted, by operating the cursorkey 180 in the digital camera 101 (S1200). When image data to betransmitted is selected, the controller 150 inquires of the destinationdevice about the ability of the device (S1201). In this case, theability of the device is spec of the device, such as operating abilityof CPU included in the device, storage capacity of a memory included inthe device.

The controller 150 receives the response from the destination devicethrough the communication unit 111 and determines the ability of thedevice (S1202).

If the controller 150 determines that the ability of the device is“High”, the controller 150 transmits the main image data or originalimage data corresponding to the selected image data, through thecommunication unit 111 (S1203). In this case, “the ability of the deviceis “High”” refers to that the device has an ability sufficient to handlemain image data or original image data.

If the controller 150 determines that the ability of the apparatus is“Medium”, the controller 150 transmits HDTV thumbnail image datacorresponding to the selected image data, through the communication unit111 (S1204). In this case, “the ability of the device is “Medium” ”refers to that the device has an ability sufficient to handle HDTVthumbnail image data.

If the controller 150 determines that the ability of the device is“Low”, the controller 150 transmits VGA thumbnail image datacorresponding to the selected image data, through the communication unit111 (S1205). In this case, “the ability of the device is “Low” ” refersto that the device has an ability which is insufficient to easily handleHDTV thumbnail image data.

With the arrangement for transmitting image data according to theability of the destination device, as described above, the communicationunit 111 can transmit image data which is most suitable for thetransmission destination.

When there is no image data determined to be image data to betransmitted, image data more suitable for transmission may be selectedfrom the existing image data to transmit it. With this arrangement, itis possible to transmit more suitable image data, even if the image datawhich does not have plural pieces of display-image data corresponding tothe image data is transmitted.

1-6-4. Transmission of Thumbnails with PictBridge

FIG. 46 is a flow chart of processing which is performed when thedigital camera 101 according to the present embodiment receives arequest for transmission of thumbnail image data from a printer whichconforms to the PictBridge standard. According to the PictBridgestandard, when performing thumbnail printing, the printer sends arequest to the digital camera for transmission of thumbnail image data.

The user selects image data to be printed, by operating the cursor key180 in the digital camera 101 (S1300). If image data is selected, theprinter makes a request for transmission of the image data and thumbnailimage data corresponding to the image data (S1301). Upon receiving therequest for thumbnail image data from the printer, the controller 150searches for display-image data having a maximum pixel count indisplay-image data relating to the image data to be printed (S1302). Ifthe controller 150 finds display-image data having a maximum pixelcount, the controller 150 transmits the found display-image data to theprinter through the communication unit 111 (S1303). The printer prints athumbnail image based on the received display-image data.

With the aforementioned arrangement, when printing thumbnail images, theprinter can print thumbnail images using the display-image havingmaximum pixel counts, thereby printing a beautiful thumbnail imagehaving large pixel counts.

2. Second Embodiment

Hereinafter, with reference to the drawings, there will be described thesecond embodiment where the concept of the present invention is appliedto a digital camera. The matters which will not be particularlydescribed have the same structures as those of the first embodiment.

2-1. Recording Operation (Multi Aspect Mode)

A digital camera according to the second embodiment of the presentinvention stores image data captured in a multi aspect mode in a memorycard or an internal memory. In the present embodiment, a setting ispreliminarily made as to the aspect ratios of display-image data whichshould be stored as sub-image data, for the captured image data. Forexample, it is preliminarily set so that, when capturing one image data,display-image data with an aspect ratio of 16:9 and display-image datawith an aspect ratio of 4:3 should be created.

With reference to FIG. 47 and FIG. 48, there will be described anoperation for recording image data with the digital camera according tothe present embodiment. FIG. 47 is a flow chart of an operation forrecording image data according to the present embodiment. FIG. 48 is aschematic view of an image file created by a recording operationaccording to the present embodiment.

The digital camera 101 is set to a multi aspect recording mode,according to user's operations on the operation unit 170 (S1400). If thedigital camera 101 is set to the multi aspect recording mode, thecontroller 150 is on standby until the release button 171 is completelypressed (S1401). If the release button 171 is completely pressed, theCCD image sensor 141 performs an image capturing operation (S1402).After the image capturing operation is performed, the image processor160 performs image processing such as compression processing on thecaptured image data to create JPEG image data (S1403). After the JPEGimage data is created, the controller 150 stores the created JPEG imagedata in the buffer memory 115 (S1404). Thereafter, the electronic zoomprocessing unit 165 performs image processing such as cuttingprocessing, subsampling processing and interpolation processing on theJPEG image data to create display-image data with a predetermined aspectratio (S1405). Next, the controller 150 stores the created display-imagedata in the buffer memory 115 (S1406).

After the display-image data is stored in the buffer memory 115, thecontroller 150 determines whether or not display-image data having thepre-set aspect ratios have been all created (S1407).

If it is determined that display-image data having all the pre-setaspect ratios have not been created, the processing is returned to thestep S1405 where the electronic zoom processing unit 165 createsdisplay-image having an aspect ratio which has not been created (S1405)and stores it in the buffer memory 115 (S1406). These processing arerepeated until all pieces of the display-image data are created (S1407).

If the controller 150 determines that display-image data having all thepre-set aspect ratios have been created, the controller 150 combines allpieces of the image data stored in the buffer memory 115 together tocreate one image file (S1408). After creating the image file, thecontroller 150 stores the created image file in the memory card 108 orthe internal memory 109 (S1409).

For example, it is assumed that it is preliminarily set thatdisplay-image data having aspect ratios of 16:9 and 4:3 should becreated. In this case, if one image data is captured, then an image filecontaining display-image data having an aspect ratio of 16:9 anddisplay-image data having an aspect ratio of 4:3 are created, asillustrated in FIG. 48.

By preliminarily providing display-image data having plural aspectratios, it is possible to rapidly reproduce, on a display monitor,display-image data matching the aspect ratio of the display monitor, nomatter what aspect ratio the display monitor has.

In the present embodiment, the controller 150 stores information aboutthe aspect ratios of the respective display-image data in the mainheader part and/or the respective sub-image header parts.

With this arrangement, the controller 150 can select appropriate imagedata only by referring to the respective header parts, when selectingimage data matching the aspect ratio of the display device.

Further, in the present embodiment, plural pieces of display-image datahaving various aspect ratios are stored as sub-image data in an imagefile, for a single piece of image data. However, it is not necessarilyrequired to employ this arrangement. Plural pieces of original imagedata having various aspect ratios may be stored as sub-image data in animage file, for a single piece of image data.

With this arrangement, it is possible to rapidly print image data havingvarious aspect ratios, when printing image data.

Further, in the present embodiment, after the JPEG image data is storedin the buffer, display-image data is created based on JPEG image data.However, it is not necessarily required to employ this arrangement.Before the JPEG image data is stored in the buffer, image data havingvarious aspect ratios, such as display-image data, may be created basedon JPEG image data or image data (for example, RAW data and YC data)which is the basis of JPEG image data.

2-2. Reproduction Operation (Multi Aspect Mode)

With reference to FIG. 49, there will be described an operation forreproducing image data with the digital camera according to the presentembodiment. FIG. 49 is a flow chart of an operation for reproducingimage data with the digital camera according to the present embodiment.When the digital camera is connected to a display device, the digitalcamera acquires information about specs of the display device, such asthe aspect ratio of the display device.

The user can select the reproduction mode of the digital camera 101 byoperating the mode dial 174. When the reproduction mode is selected(S1500), the controller 150 searches the image file storing image datato be reproduced for display-image data having an aspect ratio equal tothe aspect ratio of the display device connected to the digital camera101 (S1501).

In searching for display-image data, the controller 150 determineswhether or not there is display-image data having the same aspect ratioas that of the display device (S1502).

If the controller 150 determines that there is display-image data havingthe same aspect ratio, the controller 150 outputs the display-image datato the display device connected to the digital camera 101 (S1503). Thedisplay device displays the display-image data received from the digitalcamera 101.

After outputting the display-image data, the controller 150 is onstandby until the left key or the right key is pressed (S1504) When theleft key or the right key is pressed, the controller 150 determineswhether the left key or the right key is pressed (S1505). If thecontroller 150 determines that the left key is pressed, the controller150 searches the memory card 108 for display-image data having the sameaspect ratio which is stored in the image file stored before the imagefile storing the image data being currently reproduced (S1507), andoutputs the searched display-image data to the display device (S1515).If the controller 150 determines that the right key is pressed, thecontroller 150 searches the memory card 108 for display-image datahaving the same aspect ratio which is stored in the image file storedafter the image file storing the image data being currently reproduced(S1506), and outputs the searched display-image data to the displaydevice (S1515).

On the other hand, if the controller 150 determines that there is nodisplay-image data having the same aspect ratio, the controller 150creates image data having the same aspect ratio as that of the displaydevice from the main image data or original image data (S1508). Thecontroller 150 outputs the created image data to the display deviceconnected to the digital camera 101 (S1509). The display device displaysthe received image data.

After outputting the image data, the controller 150 is on standby untilthe left key or the right key is pressed (S1510). If the left key or theright key is pressed, the controller 150 determines which key is pressed(S1511). If the controller 150 determines that the left key is pressed,the controller 150 searches for display-image data having the sameaspect ratio which is stored in the image file stored before the imagefile storing the image data being currently reproduced (S1512), andoutputs the searched display-image data to the display device (S1514).If the controller 150 determines that the right key is pressed, thecontroller 150 searches for display-image data having the same aspectratio which is stored in the image file stored after the image filestoring the image data being currently reproduced (S1513) and outputsthe searched display-image data to the display device (S1514).

By searching the image file for display-image data having the sameaspect ratio as that of the display device connected to the digitalcamera, the display device connected to the digital camera 101 candisplay display-image data matching the aspect ratio of the displaydevice, during reproducing image data.

Further, by creating display-image data matching the aspect ratio of thedisplay device from main image data or original image data when there isno display-image data matching the aspect ratio of the display device inan image file, the display device connected to the digital camera 101can always display image data matching the aspect ratio of the displaydevice.

Namely, the digital camera 101 according to the present embodiment, uponreceiving a user's command for frame-by-frame reproduction of image dataand reading out an image file, determines whether or not the new imagefile stores image data having the same feature as that of image databeing currently reproduced. According to the determination result, thedigital camera 101 according to the present embodiment decides imagedata to be reproduced next in the image data stored in the read newimage file.

3. Third Embodiment

Hereinafter, with reference to the drawings, there will be described thethird embodiment where the concept of the present invention is appliedto a digital camera. The matters which will not be particularlydescribed have the same structures as those of the first embodiment.

3-1. Recording Operation (Multi Aspect Mode 2)

A digital camera according to the third embodiment of the presentinvention stores image data captured in the multi aspect mode in amemory card or an internal memory. With reference to FIG. 50 and FIG.51, there will be described a recording operation according to thepresent embodiment. FIG. 50 is a flow chart of an operation forrecording image data with the digital camera according to the presentembodiment. FIG. 51 is a schematic view of a display-image stored assub-image data during recording with the digital camera according to thepresent embodiment.

The user can set the digital camera 101 to the multi aspect mode byoperating the operation unit 170. If the digital camera 101 is set tothe multi aspect mode (S1600), the controller 150 is on standby untilthe release button 171 is completely pressed (S1601). When the releasebutton 171 is completely pressed, the CCD image sensor 141 performs animage capturing operation (S1602). After the image capturing operationis performed, the image processor 160 performs image processing such ascompression processing to create JPEG image data (S1603). After the JPEGimage data is created, the controller 150 stores the created JPEG imagedata in the buffer memory 115 (S1604).

After the JPEG image data is stored in the buffer memory 115, theelectric zoom processing unit 165 creates display-image data based onthe created JPEG image data (S1605). This display-image data is imagedata having a size including all the pre-set aspect ratios. For example,in assuming that aspect ratios of 16:9 and 4:3 have been preliminarilyset, image data 203 with a size designated by a solid line in FIG. 51(hereinafter, referred to as “inclusive image data”) is display-imagedata. In this case, image data 201 is image data with an aspect ratio of16:9, and image data 202 is image data with an aspect ratio of 4:3. Theinclusive image data 203 is image data with a size including both theimage data 201 and the image data 202.

After display-image data as such inclusive image data is created, thecontroller 150 stores the created display-image data in the buffermemory 115 (S1606). Thereafter, the controller 150 combines all piecesof the image data stored in the buffer memory 115 together to create animage file (S1607) and stores the created image file in the memory card108 or the internal memory 109 (S1608).

By forming display-image data from image data including all aspectratios (inclusive image data), it does not need to store image data withthe respective aspect ratios. This can save the memory in comparisonwith the case in which display-image data with all aspect ratios arestored. Further, it is possible to cope with various types of displaydevices having different aspect ratios without preliminarily storingimage data having respective aspect ratios, by using the storeddisplay-image data.

3-2. Reproduction Operation (Multi Aspect Mode 2)

With reference to FIG. 52, there will be described a reproductionoperation according to the present embodiment. FIG. 52 is a flow chartof a reproduction operation according to the present embodiment. Theuser can select the reproduction mode of the digital camera 101 byoperating the operation unit 170.

If the reproduction mode is selected (S1700), the controller 150 createsdisplay-image data having the same aspect ratio as that of the displaydevice connected to the digital camera 101, based on the display-imagedata including plural aspect ratios which is stored in the image filebeing currently reproduced (S1701). In this case, the creation ofdisplay-image data is performed by execution of image processing such ascutting-out processing, subsampling processing and interpolationprocessing by the electronic zoom processing unit 165.

After creating display-image data, the controller 150 outputs thecreated display-image data to the display device connected to thedigital camera 101 (S1702). The display device displays the receiveddisplay-image data. When the display device displays image data, thecontroller 150 is on standby until the left key or the right key ispressed (S1703).

When the left or right key is pressed, the controller 150 determineswhether the left key or right key is pressed (S1704).

If it is determined that the left key is pressed, the electronic zoomprocessing unit 165 creates display-image data with the same aspectratio as that of the display device connected to the digital camera 101based on the display-image data stored in the image file stored beforethe image file storing the image data being currently reproduced (S1705)and then outputs the display-image data to the display device (S1707).

If it is determined that the right key is pressed, the electronic zoomprocessing unit 165 creates display-image data with the same aspectratio as that of the display device connected to the digital camera 101based on the display-image data stored in the image file stored afterthe image file storing the image data being currently reproduced (S1706)and then outputs the display-image data to the display device (S1707).

With the aforementioned structure, it is possible to display, on variousdisplay devices having different aspect ratios, image data suitable forthe display devices at relatively higher speeds, only by preliminarilystoring single display-image data.

4. Fourth Embodiment

Hereinafter, with reference to the drawings, there will be described thefourth embodiment where the concept of the present invention is appliedto a digital camera. The matters which will not be particularlydescribed have the same structures as those of the first embodiment.

4-1. Recording Operation (Panorama Mode)

A digital camera according to the fourth embodiment of the presentinvention stores image data captured in the panorama shooting mode in amemory card or an internal memory. Further, in the panorama shootingmode, settings is preliminarily made as to how many image data should becaptured and the direction (left or right) from which the capturingimage data should be started. With reference to FIG. 53, a recordingoperation according to the present embodiment will be described. FIG. 53is a flow chart of an operation for recording image data with thedigital camera according to the present embodiment.

The user can set the digital camera 101 to the panorama shooting mode byoperating the operation unit 170. If the digital camera 101 is set tothe panorama shooting mode (S1800), the controller 150 is on standbyuntil the release button 171 is completely pressed (S1801). If therelease button 171 is completely pressed, the CCD image sensor 141performs an image capturing operation (S1802). After the image capturingoperation is performed, the image processor 160 performs imageprocessing such as compression processing to create JPEG image data(S1803). The controller 150 stores the created JPEG image data in thebuffer memory 115 (S1804). After storing the JPEG image data in thebuffer memory 115, the controller 150 creates display-image data basedon this JPEG image data (S1805). After creating the display-image data,the controller 150 stores the created display-image data in the buffermemory 115 (S1806).

After storing the display-image data in the buffer memory 115, thecontroller 150 determines whether or not all pieces of image data ofwhich number of pieces is preliminary set are captured in the panoramashooting mode (S1807).

If all pieces of image data of which number of pieces is preliminary sethave been captured, the controller 150 combines all pieces of image datastored in the buffer memory 115 together to create one image file(S1808). The controller 150 stores the created image file in the memorycard 108 or the internal memory 109 (S1809).

If all pieces of image data of which number of pieces is preliminary sethave not been captured, the controller 150 returns the control to thestep S1801 where it is on standby until the release button 171 iscompletely pressed. Thereafter, the same processing as theaforementioned processing is repeated until the preliminary set numberof pieces of image data are captured.

With the aforementioned arrangement, it is possible to store, in oneimage file, plural pieces of image data which have been captured in thepanorama shooting mode and are closely related to each other. By storingthem in one image file, it is possible to easily handle respective imagedata closely related to each other.

4-2. Reproduction Operation (Panorama Mode)

With reference to FIG. 54 and FIG. 55, there will be described areproduction operation according to the present embodiment. FIG. 54 is aflow chart of an operation for reproducing image data with the digitalcamera according to the present embodiment. FIG. 55 is a rear view ofthe digital camera 101 displaying panorama image data on a touch paneltherein. Further, as illustrated in FIG. 55, the digital cameraaccording to the present embodiment is provided with a touch panel 206on the LCD monitor 110 on its back. The touch panel has the function ofrecognizing a portion of the touch panel which is pressed when theportion is pressed with a finger or a pen and transferring informationabout the pressed portion to the controller 150. Further, a left key 204and a right key 205 illustrated in FIG. 55 are software keys. When thesesoftware keys are pressed with a pen or a finger, the controller 150 canacquire information about that the portion is pressed from the touchpanel 206 and can perform various types of information processing basedon the information.

The user can set the digital camera 101 to the reproduction mode byoperating the operation unit 170. If the digital camera 101 is set tothe reproduction mode (S1900), the touch panel 206 provided on the LCDmonitor 110 displays the image data which is selected during theprevious reproduction operation (S1900). When the image data isdisplayed, the controller 150 is on standby until the left or rightsoftware key is input (S1902).

If either one of the left and right software keys is input, thecontroller 150 determines which software key is input (S1903).

If it is determined that the left software key is input, the touch panel206 reproduces the image data previously stored in the same file(S1904). If there is no image data previously stored therein, the imagedata being currently displayed is displayed.

If it is determined that the right software key is input, the touchpanel 206 reproduces the image data stored after the image data beingcurrently reproduced in the same file (S1905). If there is no image datasubsequently stored therein, the image data being currently displayed isdisplayed.

As described above, in the present embodiment, during reproduction ofpanorama image data, frame advance is performed on image data continuousleftward and rightward scenically in the same image file, depending onwhich the input software key, that is, the left key or the right key.This permits realizing frame advance operation for image data whichmeets human feelings.

Further, in the present embodiment, frame advance is performed on imagedata in the same image file by pressing the software keys. This can makeoperations for frame advance among image files captured in the panoramashooting mode accord to operations (operations on the cursor key 180)for image files captured in the other shooting modes.

4-3. Resizing (Panorama Mode)

Next, there will be described resizing of image files created in thepanorama shooting mode. In an image file captured in the panoramashooting mode, the original image data should be resized along withresizing of the main image data.

Regarding image data captured in a specific mode, such as the continuousshooting mode, which produces plural pieces of image data each of whichis independent, it is not problem to resize each piece of image data indifferent way. However, regarding an image file created in the panoramashooting mode, if the resizing is not performed in the same way on therespective image data, there is a problem in that panorama image can notbe created.

Accordingly, regarding the image file captured in the panorama shootingmode, when the main image data is resized, the other original image datais also resized along with the main image data. This can avoid asituation where in a file storing panorama image data, the pixel countof each piece of image data is different. Further, the user cancollectively perform resizing processing, without performing individualresizing processing on respective image data.

5. Fifth Embodiment

Hereinafter, with reference to the drawings, there will be described thefifth embodiment where the concept of the present invention is appliedto a digital camera. The matters which will not be particularlydescribed have the same structures as those of the first embodiment.

5-1. Recording Operation (Auto Bracket Mode)

A digital camera according to the fifth embodiment of the presentinvention stores image data captured in the auto bracket mode in amemory card or an internal memory. In the auto bracket mode, a specifiednumber of pieces of image data to be captured and specified EV valueduring the capturing of image data are preliminary set. During actuallycapturing of images, the specified number of pieces of image data arecaptured with the preliminary set EV value.

With reference to FIG. 56, there will be described a recording operationaccording to the present embodiment. FIG. 56 is a flow chart of anoperation for recording image data with the digital camera according tothe present embodiment.

The user can set the digital camera 101 to the auto bracket mode byoperating the operation unit 170. When the digital camera 101 is set tothe auto bracket mode (S2000), the controller 150 is on standby untilthe release button 171 is pressed (S2001). If the release button 171 ispressed, the CCD image sensor 141 performs an image capturing operation(S2002). After the image capturing operation, the image processor 160performs image processing such as compression processing to create JPEGimage data (S2003). The controller 150 stores the created JPEG imagedata in the buffer memory 115 (S2004). Thereafter, the controller 150creates display-image data based on the JPEG image data (S2005) andstores the created display-image data in the buffer memory 115 (S2006).

After storing the display-image data in the buffer memory 115, thecontroller 150 determines whether or not the specified number of piecesof image data each having the specified EV value have been captured inthe auto bracket mode (S2007).

If the specified number of pieces of image data with the specified EVvalue have been captured, the controller 150 combines all pieces of theimage data stored in the buffer memory 115 together to create one imagefile (S2008). The controller 150 stores the created image file in thememory card 108 or the internal memory 109 (S2009).

On the other hand, if all pieces of image data with the specified EVvalue have not been captured, the CCD image sensor 141 returns to thestep S2002 so as to capture an image subsequently. Then, theaforementioned processing is repeated until all pieces of image datawith the specified EV value are captured (S2002 to S2007).

With the aforementioned arrangement, it is possible to store, in oneimage file, plural pieces of image data which have been captured in theauto bracket mode and are closely related to each other. By storing themin one image file, it is possible to easily handle respective image dataclosely related to each other.

In the present embodiment, display-image data is created every timeimage data with each EV value is captured. However, it is notnecessarily required to employ this arrangement. When all pieces ofimage data with the respective EV values are captured, display-imagedata corresponding to the respective image data may be created.

5-2. Reproduction Operation (Auto Bracket Mode)

With reference to FIG. 57 and FIG. 58, there will be described areproduction operation according to the present embodiment. FIG. 57 is aflow chart of an operation for reproducing image data with the digitalcamera according to the present embodiment. FIG. 58 is a rear viewillustrating the digital camera 101 displaying, on the LCD monitor 110,image data captured in the auto bracket mode.

The user can set the digital camera 101 to the reproduction mode byoperating the mode dial 174. When the digital camera 101 is set to thereproduction mode (S2100), the LCD monitor 110 displays image data whichis reproduced during the previous reproduction (S2101). When the imagedata is displayed, the controller 150 is on standby until either one ofthe left key and right key is input (S2102).

When any one of the left key and right key is input, the controller 150determines whether or not the left key is input (S2103).

If it is determined that the left key is input, the LCD monitor 110reproduces image data which has the same EV value as that of the imagedata being currently reproduced and is stored in the image file storedbefore the image file being reproduced (S2104). If there is no imagedata having the same EV value in the previously stored image file, anyof image data stored in the previously stored image file is reproduced.

If it is determined that the right key is input, the LCD monitor 110reproduces image data which has the same EV value as that of the imagedata being currently reproduced and is stored in the image file storedafter the image file being reproduced (S2105). If there is no image datahaving the same EV value in the subsequently stored image file, any ofimage data stored in the subsequently stored image file is reproduced.

As described above, in the present embodiment, frame advance isperformed on image data having the same EV value in image data stored inplural image files, according to the input of the left and right keys,during reproducing image data captured in the auto bracket mode. Thispermits frame advance of only image data with the same EV value so thatthe usability for the user can be improved when the user has preferredEV value.

6. Sixth Embodiment

Hereinafter, with reference to the drawings, there will be described thesixth embodiment where the concept of the present invention is appliedto a digital camera. The matters which will not be particularlydescribed have the same structures as those of the first embodiment.

6-1. Editing

With reference to FIG. 32 and FIG. 33, there will be described editingof image data with the digital camera 101 according to the sixthembodiment of the present invention. FIG. 32 is a flow chartillustrating operations of the digital camera 101 when image data isdeleted from a multiple image file, according to the present embodiment.FIG. 33 is a flow chart illustrating operations of the digital camera101 when main image data is deleted from a multiple image file.

6-1-1. Deletion of Image Data

With reference to FIG. 32, there will be described operations of thedigital camera 101 when image data is deleted from a multiple imagefile.

The user can select image data to be deleted by operating the cursor key180 during the image-data reproduction mode of the digital camera 101.

If image data to be deleted is selected (S430), the controller 150 is onstandby until the deletion button 186 is pressed (S431). If the deletionbutton 186 is pressed, the controller 150 deletes the image dataselected by the user (S432). More specifically, the controller 150accesses the memory card 108 or the internal memory 109 and deletesinformation about the selected image data from the management tablecontained in the image file storing the selected image data. Thedeletion of image data may be achieved by physically and completelyerasing information about the image data to be deleted from a memory.Alternatively, the deletion of image data may be achieved by logicallyerasing the image data by releasing the address in the memory at whichinformation about the image data to be deleted is stored so that theaddress is rewritable.

After deletion of the image data selected by the user, the controller150 restructures the FAT and logically reconfigures the image file(S433).

Namely, in the present embodiment, even if main image data or originalimage data is deleted, the corresponding display image is notautomatically deleted. Further, even if display-image data is deleted,the corresponding main image data or original image data is notautomatically deleted.

6-1-2. Control Upon Deletion of Main Image Data

With reference to FIG. 33, there will be described operations of thedigital camera 101 when main image data is deleted, according to thepresent embodiment.

The user can select and delete main image data. Namely, the user candelete all or some pieces of image data contained in image files storedin a storage medium by selecting image data to be deleted. In this case,an image file refers to a file capable of storing main image data,original image data, and display-image data, as image data, in apredetermined order. Further, the storage medium may be the internalmemory 109 incorporated in the digital camera 101 or the memory card 108which can be attached and detached to and from the digital camera 101.

More specifically, the controller 150 accesses the memory card 108 orthe internal memory 109, and deletes, from the management table,information about the main image data selected by the user. The deletionof image data may be achieved by physically and completely erasinginformation about the image data to be deleted from a memory.Alternatively, the deletion of image data may be achieved by logicallyerasing the image data by releasing the address in the memory at whichinformation about the image data to be deleted is stored so that theaddress is rewritable.

In this case, the main image data is image data that is stored at aposition closest to the file head among the image data stored in animage file. Further, the original image data is image data having apixel count equal to that of the main image data. Further, thedisplay-image data is image data which has a pixel count smaller thanthat of the main image data or original image data, is created based onthe main image data or the original image data, and is stored after themain image data or original image data which are the basis of thedisplay-image data.

After deletion of the main image data (S420), the controller 150searches for original image data stored in the image file which storedthe deleted main image data (S421).

After starting the search, the controller 150 performs the search in theorder from the file head, and selects, as new main image data, originalimage data stored at a position closest to the file head in the originalimage data (S422). Namely, when main image data stored in an image fileis deleted, the controller 150 selects, as new main image data, originalimage data stored at a position closest to the file head in the originalimage data stored in the image file.

The controller 150 reconfigures an image file containing the selectedoriginal image data as main image data (S423). More specifically, thecontroller 150 stores the new main image data selected by the selectionunit at the head position in an image file and reconfigures the imagefile.

In the present embodiment, when main image data is deleted, originalimage data stored at a position closest to the file head is selected asmain image data. This can prevent display-image data from being set asmain image data, when main image data is deleted. Accordingly, asituation is avoided, in which clear print images can not be createdbecause of smaller pixel counts, even though main image data is printedwith a printer.

7. Other Embodiments

There have been described the first to sixth embodiments, as embodimentsof the present invention. However, the present invention is not limitedto these embodiments. Other embodiments of the present invention will bedescribed, hereinafter.

The optical system and the driving system in the digital camera to whichthe present invention is applied are not limited to those illustrated inFIG. 1. For example, although an optical system having a four lens groupstructure is illustrated in FIG. 1, it is also possible to employ adifferent lens structure. Further, although the zoom lens 122 isillustrated as a component of the optical system in FIG. 1, the zoomlens may be omitted and the optical system with a single focus point maybe provided. Further, the OIS unit 124 is not an essential component.Further, each lens can be constituted by a single lens or a lens groupconstituted by plural lenses. Also, the zoom motor 132 and the focusmotor 135 can share a single motor.

Although, in the first to sixth embodiments, the CCD image sensor 141 isexemplified as an imaging device, the imaging device is not limitedthereto. For example, the imaging device can be constituted by a CMOSimage sensor or an NMOS image sensor.

The image processor 160 and the controller 150 can be constituted by asingle semiconductor chip or different semiconductor chips.

Although, in the first to sixth embodiments, the LCD monitor 110 isexemplified as the display unit, the present invention is not limited tothis. For example, the display unit can be realized by an organicelectroluminescence display or an inorganic electroluminescence display.

Although, in the first to sixth embodiments, display-image data arecreated based on main image data or original image data which are in theJPEG format, the present invention is not limited to this. For example,display-image data can be created based on YC data or RAW data which isthe basis of main image data or original image data. This arrangementmakes it possible to create display-image data during the creationprocessing of main image data or original image data, therebysimplifying the creation processing. Namely, display-image data can becreated based on main image data or image data which is the basis of themain image data, or based on original image data or image data which isthe basis of the original image data.

INDUSTRIAL APPLICABILITY

The present invention provides an apparatus and method for performingprocessing on image files containing image data other than thumbnailimage data, in addition to or instead of thumbnail image data.Accordingly, the present invention is applicable to an apparatus forprocessing images. For example, the present invention can be applied todigital still cameras, digital video cameras, cellular phones equippedwith camera functions, and the like.

Although the present invention has been described with respect tospecific embodiments, other various changes, modifications and otherapplications will be apparent to those skilled in the art. Therefore,the scope of the present invention is not limited to these specificdisclosures but can be defined by only the appended claims. Further, thepresent application is related to Japanese patent application Nos.2007-301519 (filed on Nov. 21, 2007), 2007-301520 (filed on Nov. 21,2007) and 2008-071023 (filed on Mar. 19, 2008), the contents of whichare incorporated herein by reference.

1. An image data transfer apparatus comprising: a communication unitthat communicates with an external device; an acquisition unit thatacquires predetermined information for at least one image file stored ina storage medium, the at least one image file capable of storing pluralpieces of image data; an ID adding unit that adds unique identificationinformation to at least a part of the plural pieces of image data storedin the at least one image file based on the acquired predeterminedinformation; a reception unit that receives a command for selecting atleast one piece of image data among the plural pieces of image data towhich the unique identification information is added; a transmissionunit that transmits the identification information of the image dataselected based on the command received by the reception unit to theexternal device via the communication unit; and an image datatransmission unit that transmits image data to the external device, viathe communication unit, in response to a request from the externaldevice based on the identification information transmitted to theexternal device.
 2. The image data transfer apparatus according to claim1, wherein the at least a part of all the plural pieces of image dataincludes either a combination of main image data and image data having asame image size as that of the main image data, or a main image data. 3.The image data transfer apparatus according to claim 1, furthercomprising a recognition unit that recognizes that the communicationunit is connected to the external device; wherein the ID adding unitadds the identification information to the image data when therecognition unit recognizes that the communication unit is connected tothe external device.
 4. The image data transfer apparatus according toclaim 1, wherein: the image file is added with file identification codefor identifying an image file; and the identification informationincludes: at least a part of the file identification code which is addedto an image file storing image data to which the identificationinformation is added; and a data identification code which is added toan image data to identify image data in an image file.
 5. The image datatransfer apparatus according to claim 1, wherein the image datatransmission unit transmits image data corresponding to theidentification information transmitted to the external device.
 6. Theimage data transfer apparatus according to claim 1, wherein the externaldevice is a printer.
 7. A digital camera comprising: an image sensoroperable to capture plural images; a storage medium operable to store atleast one image file , the at least one image file capable of storingplural pieces of image data corresponding to the plural images capturedby said image sensor; a communication unit operable to communicate withan external printer; an acquisition unit operable to acquirepredetermined information about the at least one image file stored inthe storage medium; an ID adding unit operable to add uniqueidentification information to at least a part of the plural pieces ofimage data stored in the at least one image file based on the acquiredpredetermined information; a reception unit operable to receive acommand for selecting at least one piece of image data among the pluralpieces of image data to which the unique identification information isadded; a transmission unit operable to transmit the identificationinformation of the image data selected based on the command received bythe reception unit to the external printer via the communication unit;and an image data transmission unit operable to transmit image data tothe external printer, via the communication unit, in response to arequest from the external printer based on the identificationinformation transmitted to the external printer.
 8. The digital cameraaccording to claim 7, further comprising a recognition unit operable torecognize that the communication unit is connected to the externalprinter; wherein the ID adding unit is operable to add theidentification information to the image data when the recognition unitrecognizes that the communication unit is connected to the externalprinter.
 9. The digital camera according to claim 7, wherein thecommunication unit is a USB cable or a wireless LAN.
 10. The digitalcamera according to claim 7, wherein: the image file is added with fileidentification code for identifying an image file; and theidentification information includes: at least a part of the fileidentification code which is added to an image file storing image datato which the identification information is added; and a dataidentification code which is added to an image data to identify imagedata in an image file.
 11. The digital camera according to claim 7,wherein the storage medium is an internal memory or a removable memorycard.
 12. A method for transferring image data between a digital cameraand an external printer, said method comprising: acquiring predeterminedinformation for at least one image file stored in a storage mediumprovided in the digital camera, the at least one image file capable ofstoring plural pieces of image data; adding unique identificationinformation to at least a part of the plural pieces of image data storedin the at least one image file based on the acquired predeterminedinformation; receiving a command for selecting at least one piece ofimage data among the plural pieces of image data to which the uniqueidentification information is added; transmitting the identificationinformation of the image data selected based on the received command tothe external printer; and transmitting image data to the externalprinter in response to a request from the external printer based on theidentification information transmitted to the external printer.
 13. Themethod for transferring image data between a digital camera and anexternal printer according to claim 12, wherein: the image file is addedwith file identification code for identifying an image file; and theidentification information includes: at least a part of the fileidentification code which is added to an image file storing image datato which the identification information is added; and a dataidentification code which is added to an image data to identify imagedata in an image file.
 14. The method for transferring image databetween a digital camera and an external printer according to claim 12,further comprising: recognizing that the digital camera is connected tothe external printer; wherein the identification information is added tothe image data after recognizing that the digital camera is connected tothe external printer.